WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
249209
[Curl] Only redirect when known redirect status codes
https://bugs.webkit.org/show_bug.cgi?id=249209
Summary
[Curl] Only redirect when known redirect status codes
Kenji Shukuwa
Reported
2022-12-12 22:31:54 PST
By specification, if the status code is 3xx and there is a location header, you can redirect automatically. The current curl port is redirecting according to this specification. On the other hand, WebKit limits redirect status codes to known code. Inconsistent redirect code within WebKit can lead to unexpected behavior.
Attachments
Add attachment
proposed patch, testcase, etc.
Kenji Shukuwa
Comment 1
2022-12-12 23:21:22 PST
Pull request:
https://github.com/WebKit/WebKit/pull/7538
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