Index: net/url_request/url_request_redirect_job.cc |
diff --git a/net/url_request/url_request_redirect_job.cc b/net/url_request/url_request_redirect_job.cc |
index c9d30aebedd432612dcd0ee1b839a181d485cfc6..0e59281157311393718a29e18a714ba1fcbd2995 100644 |
--- a/net/url_request/url_request_redirect_job.cc |
+++ b/net/url_request/url_request_redirect_job.cc |
@@ -44,6 +44,13 @@ bool URLRequestRedirectJob::IsRedirectResponse(GURL* location, |
return true; |
} |
+bool URLRequestRedirectJob::IsRedirectFragmentModificationAllowed( |
+ const GURL& location) const { |
+ // The instantiators have full control over the desired redirection target, |
+ // including the reference fragment part of the URL. |
+ return false; |
+} |
+ |
URLRequestRedirectJob::~URLRequestRedirectJob() {} |
void URLRequestRedirectJob::StartAsync() { |