Closed
Bug 1189852
Opened 10 years ago
Closed 10 years ago
link broken which a line break on hash part after Bug 1144398
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla42
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | fixed |
People
(Reporter: yfdyh000, Assigned: valentin)
References
Details
(Keywords: dev-doc-complete, regression, site-compat)
Attachments
(2 files)
|
275 bytes,
text/html
|
Details | |
|
3.45 KB,
patch
|
mcmanus
:
review+
|
Details | Diff | Splinter Review |
The regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=84f7fa96af4f&tochange=b6b20e7ca118
https://hg.mozilla.org/integration/mozilla-inbound/rev/c334736aa584
Firefox 37: good
Firefox 38: bad, no page be opened
| Assignee | ||
Comment 1•10 years ago
|
||
According to https://url.spec.whatwg.org/#fragment-state new line (aka U+000A) isn't allowed in the fragment.
Bug 1189852 enforced that constraint, even though before we would strip whitespace characters from the end of the URL.
I'll try to fix this. Thanks for the bug report and regression window.
Assignee: nobody → valentin.gosu
| Assignee | ||
Comment 2•10 years ago
|
||
I changed the code to reject only \0s in SetSpec and SetHash. \r\n\t will be stripped in SetSpec, and encoded in SetHash just as before, and similar to Chrome's behaviour (see table in Bug 1190027 comment 0)
Attachment #8641977 -
Flags: review?(mcmanus)
Updated•10 years ago
|
Attachment #8641977 -
Flags: review?(mcmanus) → review+
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•10 years ago
|
Comment 5•10 years ago
|
||
Added the site compatibility doc: https://www.fxsitecompat.com/en-US/docs/2015/link-with-line-break-in-hash-part-is-broken/
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•