Chromium Code Reviews| Index: content/child/ftp_directory_listing_response_delegate.cc |
| diff --git a/content/child/ftp_directory_listing_response_delegate.cc b/content/child/ftp_directory_listing_response_delegate.cc |
| index cc4df55687d920818e92cb3d6aa3e958bbda81e7..0a24bbf19414864757bf4c037ee7473941379ae1 100644 |
| --- a/content/child/ftp_directory_listing_response_delegate.cc |
| +++ b/content/child/ftp_directory_listing_response_delegate.cc |
| @@ -111,8 +111,9 @@ void FtpDirectoryListingResponseDelegate::OnCompletedRequest() { |
| } |
| void FtpDirectoryListingResponseDelegate::Init(const GURL& response_url) { |
| - net::UnescapeRule::Type unescape_rules = net::UnescapeRule::SPACES | |
| - net::UnescapeRule::URL_SPECIAL_CHARS; |
| + net::UnescapeRule::Type unescape_rules = |
| + net::UnescapeRule::SPACES | |
| + net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS; |
|
mmenke
2016/03/23 16:49:00
Note that this only affects display of the "Index
|
| std::string unescaped_path = net::UnescapeURLComponent(response_url.path(), |
| unescape_rules); |
| SendDataToClient(net::GetDirectoryListingHeader( |