diff options
author | Matěj Cepl <mcepl@redhat.com> | 2009-12-22 02:48:18 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2009-12-22 02:48:18 +0100 |
commit | 1a5218df5b099193262a1c9209747cca144af7c3 (patch) | |
tree | ea73b94b666338ac1b40e7c67503a1f22facfe4a | |
parent | 425ee15d1c18b9e2dbf3282239bb315beb3b5d52 (diff) | |
download | bugzilla-triage-1a5218df5b099193262a1c9209747cca144af7c3.tar.gz |
Try to encode URI before opening a new tab for query.
-rw-r--r-- | bugzillaBugTriage.js | 2 |
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)); } }; |