| Index: net/url_request/url_request_job.cc
|
| diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
|
| index 33fb9afc4a40c405377fa097bc689572ef71bb6e..26b4d0d3358694996d51b0906b1349f19bd8d127 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -264,6 +264,7 @@ bool URLRequestJob::IsRedirectResponse(GURL* location,
|
|
|
| *location = request_->url().Resolve(value);
|
| *http_status_code = headers->response_code();
|
| +
|
| return true;
|
| }
|
|
|
| @@ -785,6 +786,8 @@ RedirectInfo URLRequestJob::ComputeRedirectInfo(const GURL& location,
|
| redirect_info.new_method =
|
| ComputeMethodForRedirect(request_->method(), http_status_code);
|
|
|
| +
|
| +
|
| // Move the reference fragment of the old location to the new one if the
|
| // new one has none. This duplicates mozilla's behavior.
|
| if (url.is_valid() && url.has_ref() && !location.has_ref() &&
|
|
|