LinkHeader: A truncate is missing for titleStar.
Categories
(Core :: Networking: HTTP, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: manuel, Assigned: manuel)
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files)
Comment 1•2 years ago
|
||
Manuel, could you add more explanation and also set the priority to this bug? Thanks.
It's difficult for me to triage this according to comment #0.
Assignee | ||
Comment 2•2 years ago
•
|
||
When a server specifies multiple HTTP-"Link" headers (rfc8288) with different "title*" attributes, the first "title*" attribute overwrites the "title" and "title*" attributes of the following links in the HTTP-header.
I am not sure if it is read somewhere, but I intend to fix it.
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
One test case from rfc8288 Sec 3.5 could show the problem:
Link: </TheBook/chapter2>;
rel="previous"; title*=UTF-8'de'letztes%20Kapitel,
</TheBook/chapter4>;
rel="next"; title*=UTF-8'de'n%c3%a4chstes%20Kapitel
Would set the title of both links to "letztes Kapitel". The expected result would be, that the first link had the title "letztes Kapitel" and the second link "nächstes Kapitel".
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D132696
Updated•2 years ago
|
Pushed by mbucher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54b47b56c5fd Add missing truncate of titleStar in parser of Link header r=necko-reviewers,dragana https://hg.mozilla.org/integration/autoland/rev/7ae19ddb7873 LinkHeader: test that consecutive links don't influence each other r=necko-reviewers,dragana
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54b47b56c5fd
https://hg.mozilla.org/mozilla-central/rev/7ae19ddb7873
Description
•