-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix data URI scramble #16098
Fix data URI scramble #16098
Conversation
Codecov Report
@@ Coverage Diff @@
## main #16098 +/- ##
==========================================
+ Coverage 44.06% 44.18% +0.11%
==========================================
Files 683 684 +1
Lines 82358 82325 -33
==========================================
+ Hits 36295 36375 +80
+ Misses 40176 40064 -112
+ Partials 5887 5886 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice refactor too ;)
@KN4CK3R could you add this specific test case to the tests (make sure it wont break again)? |
* Removed unused method. * No prefix for data uris. * Added test to prevent regressions.
-> #16118 |
* Fix data URI scramble (#16098) * Removed unused method. * No prefix for data uris. * Added test to prevent regressions. Co-authored-by: KN4CK3R <[email protected]>
* Removed unused method. * No prefix for data uris. * Added test to prevent regressions.
Fixes #16020
util.URLJoin("/dummy", "data:image/png;base64,i//V")
results indata:image/png;base64,i/V
(a slash is missing) which breaks images.