From 3e330c32778a46c7c881c033228e59b4fea9ad17 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 14 Dec 2008 19:51:27 -0500 Subject: [PATCH] Fix... --- common/content/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/util.js b/common/content/util.js index 05bbd6d8..104fa9ca 100644 --- a/common/content/util.js +++ b/common/content/util.js @@ -485,7 +485,7 @@ const util = { //{{{ // Ok, not a valid proto. If it looks like URL-ish (foo.com/bar), // let Gecko figure it out. - if (/[.]/.test(url) && !/\s/.test(url) || /^[\w.]+:\d+(?:\/|$)/) + if (/[.]/.test(url) && !/\s/.test(url) || /^[\w.]+:\d+(?:\/|$)/.test(url)) return url; // TODO: it would be clearer if the appropriate call to