Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Unified Diff: net/ftp/ftp_directory_listing_parser_ls.cc

Issue 7795024: FTP: fix navigation to ftp://ftp.emea.ibm.com/toibm/tivoli (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/ftp/ftp_directory_listing_parser_ls_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_parser_ls.cc
diff --git a/net/ftp/ftp_directory_listing_parser_ls.cc b/net/ftp/ftp_directory_listing_parser_ls.cc
index 90985839e31c82343cfb437e3478eb53db6fb23b..ec99700d0b5da72a6a4196a804a242bd9533c1c9 100644
--- a/net/ftp/ftp_directory_listing_parser_ls.cc
+++ b/net/ftp/ftp_directory_listing_parser_ls.cc
@@ -63,7 +63,7 @@ bool LooksLikePermissionDeniedError(const string16& text) {
if (parts.size() != 3)
return false;
- return parts[2] == ASCIIToUTF16("Permission denied");
+ return parts[2].find(ASCIIToUTF16("Permission denied")) != string16::npos;
}
// Returns the column index of the end of the date listing and detected
« no previous file with comments | « no previous file | net/ftp/ftp_directory_listing_parser_ls_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698