Skip to content

Support RFC 2397 data urls #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Support RFC 2397 data urls #119

merged 1 commit into from
Aug 13, 2018

Conversation

jgullstr
Copy link
Contributor

PHP can parse both "data://" and "data:" url schemas. It would be handy to have support for the latter (RFC2397) in ImageResize, as JS constructed data urls use that schema.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 192

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.24%

Totals Coverage Status
Change from base Build 190: 0.0%
Covered Lines: 231
Relevant Lines: 271

💛 - Coveralls

@adityapatadia adityapatadia merged commit 67b0746 into gumlet:master Aug 13, 2018
@adityapatadia
Copy link
Contributor

I have merged this but before releasing I am wondering that this will be breaking change. Can we prevent the breaking change and make it work for old users as well?

@jgullstr
Copy link
Contributor Author

There should be no breaking changes in this PR. "data://" urls will still pass validation, as they are a subset of urls beginning with "data:".

@adityapatadia
Copy link
Contributor

Okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants