aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfifnel2008-11-17 23:41:21 +0000
committerfifnel2008-11-17 23:41:21 +0000
commitc92ba32f7bd72ce998c6eb95b1871cac0bb1a9a7 (patch)
tree8dc5af662d0e07333d1648cd89f71f1d38747285
parent4cd6efc2204ce522225f6deda36e6d2ed621577a (diff)
downloadvimperator-plugins-c92ba32f7bd72ce998c6eb95b1871cac0bb1a9a7.tar.bz2
文字コード指定アリでのURLエンコードを正しく行えない不具合修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24027 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--lookupDictionary.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lookupDictionary.js b/lookupDictionary.js
index 9120797..ae821d5 100644
--- a/lookupDictionary.js
+++ b/lookupDictionary.js
@@ -160,7 +160,6 @@ SITE_DEFINITION.forEach(function (dictionary) {
let ttbu = Components.classes['@mozilla.org/intl/texttosuburi;1']
.getService( Components.interfaces.nsITextToSubURI);
url = dictionary.url.replace(/%s/g, ttbu.ConvertAndEscape(dictionary.urlEncode, arg));
- url = dictionary.url.replace(/%s/g,encodeURIComponent(arg));
} else {
url = dictionary.url.replace(/%s/g,encodeURIComponent(arg));
}