Skip to content

Regexp was missing case #18

@haykgh

Description

@haykgh

Dear contributors,

please replace following regular expression in Parser.php:
'/data:([a-zA-Z-\/+]*)([a-zA-Z0-9-_;=.+]+)?,(.*)/'
with
'/data:([a-zA-Z-\/+.]*)([a-zA-Z0-9-_;=.+]+)?,(.*)/'
to handle cases like application/vnd.ms-excel.

This is also missed test case 5.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions