| Index: net/ftp/ftp_network_transaction.cc
|
| diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
|
| index 3b31bc1d200bf47b8057cbba228650e98732c358..0b458007e90ab0211b9c9cf2825ae14f1a4e6dd5 100644
|
| --- a/net/ftp/ftp_network_transaction.cc
|
| +++ b/net/ftp/ftp_network_transaction.cc
|
| @@ -487,8 +487,9 @@ std::string FtpNetworkTransaction::GetRequestPathForFtpCommand(
|
| // with a trailing slash.
|
| if (!is_directory && path.length() > 1 && path.back() == '/')
|
| path.erase(path.length() - 1);
|
| - UnescapeRule::Type unescape_rules = UnescapeRule::SPACES |
|
| - UnescapeRule::URL_SPECIAL_CHARS;
|
| + UnescapeRule::Type unescape_rules =
|
| + UnescapeRule::SPACES |
|
| + UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS;
|
| // This may unescape to non-ASCII characters, but we allow that. See the
|
| // comment for IsValidFTPCommandString.
|
| path = UnescapeURLComponent(path, unescape_rules);
|
|
|