Index: third_party/zlib/google/zip_reader.cc |
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc |
index e0871c85367321c785c31383f8cf8d2a28000027..d3c2775844a5ddb1dc687c8d72c2cac17b449bca 100644 |
--- a/third_party/zlib/google/zip_reader.cc |
+++ b/third_party/zlib/google/zip_reader.cc |
@@ -131,8 +131,7 @@ |
original_size_ = raw_file_info.uncompressed_size; |
// Directory entries in zip files end with "/". |
- is_directory_ = base::EndsWith(file_name_in_zip, "/", |
- base::CompareCase::INSENSITIVE_ASCII); |
+ is_directory_ = base::EndsWith(file_name_in_zip, "/", false); |
// Check the file name here for directory traversal issues. |
is_unsafe_ = file_path_.ReferencesParent(); |