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

Unified Diff: webkit/database/database_util.h

Issue 12212091: WebDatabase: check path traversal in origin_identifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more testcases Created 7 years, 10 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 | « content/browser/renderer_host/database_message_filter.cc ('k') | webkit/database/database_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_util.h
diff --git a/webkit/database/database_util.h b/webkit/database/database_util.h
index 8158f3929a827878f4ae444a21023b4ceb3554bf..8b366aabe5facf28d682808794ad4332c6701d56 100644
--- a/webkit/database/database_util.h
+++ b/webkit/database/database_util.h
@@ -31,6 +31,7 @@ class WEBKIT_STORAGE_EXPORT DatabaseUtil {
const string16& vfs_file_name);
static string16 GetOriginIdentifier(const GURL& url);
static GURL GetOriginFromIdentifier(const string16& origin_identifier);
+ static bool IsValidOriginIdentifier(const string16& origin_identifier);
};
} // namespace webkit_database
« no previous file with comments | « content/browser/renderer_host/database_message_filter.cc ('k') | webkit/database/database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698