Open haykgh opened 5 years ago
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.
'/data:([a-zA-Z-\/+]*)([a-zA-Z0-9-_;=.+]+)?,(.*)/'
'/data:([a-zA-Z-\/+.]*)([a-zA-Z0-9-_;=.+]+)?,(.*)/'
application/vnd.ms-excel
This is also missed test case 5.
Thanks.
Also...
'/^data:
A url can contain a data url.
@jygaulier Should this issue be closed ? (the last comment about '/^data: was not implemented AFAIK)
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 likeapplication/vnd.ms-excel
.This is also missed test case 5.
Thanks.