WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
49795
[GTK] Response created on redirects must have the url of the initial request
https://bugs.webkit.org/show_bug.cgi?id=49795
Summary
[GTK] Response created on redirects must have the url of the initial request
Sergio Villar Senin
Reported
2010-11-19 05:05:09 PST
The current code in restartedCallback (ResourceHandleSoup.cpp) creates a new ResourceResponse based on the SoupMessage returned by libsoup. libsoup does replace the original url of the SoupMessage by the new location especified by the redirect received by the server. As could be seen in the other ports (for example ResourceHandleWin.cpp:176), that response must have the url of the original request. That is confirmed by the expected results of LayoutTests/http/tests/loading/redirect-methods.html
Attachments
Proposed fix
(2.15 KB, patch)
2010-11-19 05:27 PST
,
Sergio Villar Senin
xan.lopez
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2010-11-19 05:27:22 PST
Created
attachment 74372
[details]
Proposed fix
Xan Lopez
Comment 2
2010-11-19 18:19:23 PST
So do we pass that test with this patch or not?
Sergio Villar Senin
Comment 3
2010-11-21 15:30:24 PST
Not yet because there are several signals needed by the DRT that we'd have to implement. Some of them are being implemented
https://bugs.webkit.org/show_bug.cgi?id=49543
(those patches are a bit outdated but I'll upload new versions soon) What I checked is that with those new signals and this patch, the gap between the expected and actual results shortens
Martin Robinson
Comment 4
2010-11-23 05:44:52 PST
For now, would it possible to create some platform specific results for the failing test and then remove them when the frame loader signals are implemented? I think it's better to include test results with the patch.
Xan Lopez
Comment 5
2010-11-24 04:24:29 PST
Comment on
attachment 74372
[details]
Proposed fix Agreed with Martin, let's just generate some results to show this is working and we can get rid of them later when we have all the pieces in place.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug