Chromium Code Reviews| Index: net/ftp/ftp_network_transaction.cc |
| =================================================================== |
| --- net/ftp/ftp_network_transaction.cc (revision 43861) |
| +++ net/ftp/ftp_network_transaction.cc (working copy) |
| @@ -533,7 +533,7 @@ |
| std::string host; |
| int port; |
| - host = request_->url.host(); |
| + host = request_->url.HostNoBrackets(); |
| port = request_->url.EffectiveIntPort(); |
| HostResolver::RequestInfo info(host, port); |