Index: net/url_request/file_protocol_handler.cc |
diff --git a/net/url_request/file_protocol_handler.cc b/net/url_request/file_protocol_handler.cc |
index 13a772e61f15af16fb8413d8e1964804e101c1e8..c58c56bf5066d72fd501835aa19a9de58a91a42c 100644 |
--- a/net/url_request/file_protocol_handler.cc |
+++ b/net/url_request/file_protocol_handler.cc |
@@ -44,4 +44,8 @@ URLRequestJob* FileProtocolHandler::MaybeCreateJob( |
return new URLRequestFileJob(request, network_delegate, file_path); |
} |
+bool FileProtocolHandler::IsSafeRedirectTarget(const GURL& location) const { |
+ return false; |
+} |
+ |
} // namespace net |