-
Notifications
You must be signed in to change notification settings - Fork 137
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
"The fragment percent-encode set is the C0 contr..." #378
Comments
One of the Goals of the URL Standard is to
I'm not sure if this is something we want to align with the RFC, but from past experiences there are probably some good reasons why the spec is as it currently is. (In fact, query encoding is explicitly mentioned as one of the deviations.) Also, Chrome is known to be lagging behind a lot of changes in the URL Standard. In this case it doesn't seem to matter, but otherwise it would be good to test with the unofficial reference implementation. |
@oneacik I think you're talking about the rules in https://url.spec.whatwg.org/#query-state, right? At least, I didn't see URL fragments discussed in that Tomcat issue. |
the url like https://extranet.atlassian.com/recently-worked?prop={smth|evr} will render 400 because {|} are present in parameters. Firefox and Chrome will escape them only in address part not in parameters and tomcat (from 8.5.12) will drop it with 400 because. @annevk I think yes. |
Okay, so the problem here is that a URL client gets an invalid URL as input (possibly generates one with (Note that this already generates a validation error.) |
Closing this as I don't think we can reasonably make breaking changes here. |
Hey,
could you check this issue in Tomcat?
It seems that your standard is used in browser but it doesn't fully comply to RFC
https://bz.apache.org/bugzilla/show_bug.cgi?id=62273
Below the chunk:
https://url.spec.whatwg.org/commit-snapshots/a1b789c6b6c36fcdb16311da5abd177e84151fca/#percent-encoded-bytes
The text was updated successfully, but these errors were encountered: