| Index: net/url_request/url_request_file_job.cc
|
| diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc
|
| index 8f96f404c9125dfb37c090b06d2ac1810fdde2bf..a8567f0f25ee334322f63f05482c783d260ba366 100644
|
| --- a/net/url_request/url_request_file_job.cc
|
| +++ b/net/url_request/url_request_file_job.cc
|
| @@ -114,7 +114,7 @@ bool URLRequestFileJob::IsRedirectResponse(GURL* location,
|
| if (meta_info_.is_directory) {
|
| // This happens when we discovered the file is a directory, so needs a
|
| // slash at the end of the path.
|
| - std::string new_path = request_->url().path();
|
| + std::string new_path = request_->url().path().as_string();
|
| new_path.push_back('/');
|
| GURL::Replacements replacements;
|
| replacements.SetPathStr(new_path);
|
|
|