Bug 249209
Summary: | [Curl] Only redirect when known redirect status codes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kenji Shukuwa <kenji.shukuwa> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | fujii.hironori |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Kenji Shukuwa
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
Pull request: https://github.com/WebKit/WebKit/pull/7538