aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-12-22 02:48:18 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-12-22 02:48:18 +0100
commit1a5218df5b099193262a1c9209747cca144af7c3 (patch)
treeea73b94b666338ac1b40e7c67503a1f22facfe4a
parent425ee15d1c18b9e2dbf3282239bb315beb3b5d52 (diff)
downloadbugzilla-triage-1a5218df5b099193262a1c9209747cca144af7c3.tar.gz
Try to encode URI before opening a new tab for query.
-rw-r--r--bugzillaBugTriage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index a66c7d0..3833ab5 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -805,7 +805,7 @@ BzPage.prototype.queryInNewTab = function(text,component,product) {
url += "&field1-0-0=longdesc&type1-0-0=substring&value1-0-0="+text+
"&field1-0-1=attach_data.thedata&type1-0-1=substring&value1-0-1="+text+
"&field1-0-2=status_whiteboard&type1-0-2=substring&value1-0-2="+text;
- jetpack.tabs.open(url);
+ jetpack.tabs.open(encodeURIComponent(url));
}
};