diff options
author | fifnel | 2008-11-17 23:41:21 +0000 |
---|---|---|
committer | fifnel | 2008-11-17 23:41:21 +0000 |
commit | c92ba32f7bd72ce998c6eb95b1871cac0bb1a9a7 (patch) | |
tree | 8dc5af662d0e07333d1648cd89f71f1d38747285 | |
parent | 4cd6efc2204ce522225f6deda36e6d2ed621577a (diff) | |
download | vimperator-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.js | 1 |
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)); } |