summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/nsChromeRegistry.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/nsChromeRegistry.cpp b/chrome/nsChromeRegistry.cpp
index e88aca41f..0aa7f3f14 100644
--- a/chrome/nsChromeRegistry.cpp
+++ b/chrome/nsChromeRegistry.cpp
@@ -238,12 +238,6 @@ nsChromeRegistry::Canonify(nsIURL* aChromeURL)
// path is already unescaped once, but uris can get unescaped twice
const char* pos = path.BeginReading();
const char* end = path.EndReading();
- // Must start with [a-zA-Z0-9].
- if (!('a' <= *pos && *pos <= 'z') &&
- !('A' <= *pos && *pos <= 'Z') &&
- !('0' <= *pos && *pos <= '9')) {
- return NS_ERROR_DOM_BAD_URI;
- }
while (pos < end) {
switch (*pos) {
case ':':