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

Unified Diff: url/url_constants.cc

Issue 2644133002: Do not sanitize about:blank/#foo & about:blank?foo (Closed)
Patch Set: Add missing include Created 3 years, 11 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 | « url/url_constants.h ('k') | url/url_util.h » ('j') | url/url_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_constants.cc
diff --git a/url/url_constants.cc b/url/url_constants.cc
index 73c9a7671522071593cc8cb50a1ccb67a72ef763..37fc82c1c450626d44f7b5c7bc5fbb6e34098746 100644
--- a/url/url_constants.cc
+++ b/url/url_constants.cc
@@ -8,6 +8,9 @@ namespace url {
const char kAboutBlankURL[] = "about:blank";
+const char kAboutBlankPath[] = "blank";
+const char kAboutBlankWithHashPath[] = "blank/";
+
const char kAboutScheme[] = "about";
const char kBlobScheme[] = "blob";
const char kContentScheme[] = "content";
« no previous file with comments | « url/url_constants.h ('k') | url/url_util.h » ('j') | url/url_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698