From 956413db418d651a7e7cce5924cc69ea83de69da Mon Sep 17 00:00:00 2001 From: Jinzhen Lin Date: Tue, 24 Sep 2019 15:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=90=9C=E7=B4=A2=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E8=BF=9B=E8=A1=8CURL=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- searchEngineJump.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchEngineJump.user.js b/searchEngineJump.user.js index d104363..14df4a0 100644 --- a/searchEngineJump.user.js +++ b/searchEngineJump.user.js @@ -2657,7 +2657,7 @@ // alert(f); } else{ //console.log(value); - target.href = target.getAttribute('url').replace('%s', value); + target.href = target.getAttribute('url').replace('%s', encodeURIComponent(value)); } }; //获取 POST 的表单的 HTML