[Pkg-mozext-commits] [itsalltext] 346/459: normalize the url, somewhat.
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit 61a030d361618090594d9909dc67f35cdfec2b95
Author: Christian Höltje <holtje at vivisimo.com>
Date: Tue Dec 9 13:16:17 2008 -0500
normalize the url, somewhat.
---
src/chrome/content/cacheobj.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index 92f0a9f..511e0e4 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -66,7 +66,7 @@ function CacheObj(node) {
host = window.escape(doc.location.hostname);
hash = that.hashString([ doc.location.protocol,
doc.location.port,
- doc.location.search,
+ doc.location.search ? doc.location.search : '?',
doc.location.pathname,
that.node_id].join(':'));
that.base_filename = [host, hash.slice(0, 10)].join('.');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list