[Pkg-mozext-commits] [firebug] 04/56: Issue 7657: Scripts list freezes the browser with very long "javascript:" url

David Prévot taffit at moszumanska.debian.org
Wed Nov 19 21:01:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firebug.

commit 7ad3ad45c88db211ec65ed89ab7695b3856e3644
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Wed Sep 10 13:49:38 2014 +0200

    Issue 7657: Scripts list freezes the browser with very long "javascript:" url
    
    https://code.google.com/p/fbug/issues/detail?id=7657
---
 extension/content/firebug/lib/url.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/lib/url.js b/extension/content/firebug/lib/url.js
index 226ab85..d3b9053 100644
--- a/extension/content/firebug/lib/url.js
+++ b/extension/content/firebug/lib/url.js
@@ -105,7 +105,7 @@ Url.splitDataURL = function(url)
     return props;
 };
 
-const reSplitFile = /(.*?):\/{2,3}([^\/]*)(.*?)([^\/]*?)($|\?.*)/;
+const reSplitFile = /^([^:]*):\/{2,3}([^\/]*)(.*?)([^\/]*?)($|\?.*)/;
 Url.splitURLTrue = function(url)
 {
     var m = reSplitFile.exec(url);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list