From c92ba32f7bd72ce998c6eb95b1871cac0bb1a9a7 Mon Sep 17 00:00:00 2001 From: fifnel Date: Mon, 17 Nov 2008 23:41:21 +0000 Subject: 文字コード指定アリでのURLエンコードを正しく行えない不具合修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24027 d0d07461-0603-4401-acd4-de1884942a52 --- lookupDictionary.js | 1 - 1 file changed, 1 deletion(-) (limited to 'lookupDictionary.js') 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)); } -- cgit v1.2.3