[Webkit-unassigned] [Bug 158420] New: URI fragment of location header not appended in case of further redirect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 6 08:29:52 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158420
Bug ID: 158420
Summary: URI fragment of location header not appended in case
of further redirect
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: All
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tgerlach at communicode.de
CC: beidson at apple.com
Created attachment 280593
--> https://bugs.webkit.org/attachment.cgi?id=280593&action=review
simple php test scenario
As a variant of the BUG 24175 the following scenario still fails in Safari 9 (iPhone 9, Mac 10)
1. request a URI
2. response is 302 with a URI with fragment as location header
3. the location header's URI is redirected again with 302
4. the last URI has no fragment anymore.
example:
1. request: http://localhost/fragmenttest
2. response: 302, location header /fragmenttest/old/#somewhere
3. response: 302, location header /fragmenttest/new/
4. FAIL: agent requests just http://localhost/fragmenttest/new/ instead of http://localhost/fragmenttest/new/#somewhere
important:
This behaviour is only reproducable with the two redirects.
If you enter the 2. URI directly in the address line of the browser, the fragment will be kept!
2' request: http://localhost/fragmenttest/old/#somewhere
3. response: 302, location header /fragmenttest/new/
4. SUCCESS: agent requests http://localhost/fragmenttest/new/#somewhere
test:
insert the attached folder "fragmenttest" into a webserver with php and call the above mentioned URIs.
(index.php and index.html need to be the configured as default files for folders)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160606/a42bb531/attachment-0001.html>
More information about the webkit-unassigned
mailing list