-
Notifications
You must be signed in to change notification settings - Fork 23
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
CSSParserHelper.unescapeURL not following the css escape diagram #91
Comments
You are confusing escaping on the input stream and escaping in URLs - this is done based on different syntaxes. |
I can't fully follow you 😞 Currently browser can handle such escaped values in the |
Well, there are 2 layers of unescaping when reading CSS. There is one top-level unescaping that can be used everywhere. I will create some more tests to see what the exact status of the implementation is |
Ahh i see. However, for |
I am trying a totally different approach. I am doing the unescaping at the point where the stream is read (in class |
Sure, no worries. Meanwhile we've a quick-fix hack on our side to fix this |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
As per https://drafts.csswg.org/css-syntax/#escape-diagram it's fully valid to have escape sequences within a URL string.
Example given:
`background-image: url('\2f home \2f data \2f imag.png')
The text was updated successfully, but these errors were encountered: