summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:43:20 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:43:20 +0000
commit2febbc7bc136af7212814e3495c135ec9fa98345 (patch)
tree03ee15dfbcb7587c791f1a625010890553ae6c04 /webkit/appcache
parentfddf55231deeaa38a51b6a228237a87c72cff0be (diff)
downloadchromium_src-2febbc7bc136af7212814e3495c135ec9fa98345.zip
chromium_src-2febbc7bc136af7212814e3495c135ec9fa98345.tar.gz
chromium_src-2febbc7bc136af7212814e3495c135ec9fa98345.tar.bz2
Fix a bug being unable to remove appcaches via chrome:appcache-internals if the manifest url contains special characters like '?' or '='.
BUG=none TEST=manual Review URL: http://codereview.chromium.org/2806025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r--webkit/appcache/view_appcache_internals_job.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc
index 6cd11a0..f96fe37 100644
--- a/webkit/appcache/view_appcache_internals_job.cc
+++ b/webkit/appcache/view_appcache_internals_job.cc
@@ -134,7 +134,8 @@ std::string GetAppCacheManifestToRemove(const std::string& query) {
return std::string();
}
std::string manifest_str = query.substr(strlen("remove="));
- return UnescapeURLComponent(manifest_str, UnescapeRule::NORMAL);
+ return UnescapeURLComponent(
+ manifest_str, UnescapeRule::NORMAL | UnescapeRule::URL_SPECIAL_CHARS);
}
struct ManifestURLComparator {