From b07e8e34b35671ef2bde0712d03385c6b197c692 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Wed, 15 Apr 2020 18:03:06 +0800 Subject: =?UTF-8?q?:bell:=20Fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6=E6=9C=89?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E7=9A=84=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E9=94=9A=E7=82=B9=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Contents.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/Contents.php b/libs/Contents.php index 256ff46..ead2293 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -230,9 +230,9 @@ class Contents { // 增加单独标记,否则冲突 $id = $matchs[3]; - $id = str_replace(' ','\%20',$id); - $id = str_replace('&','\%26',$id); - $id = str_replace('?','\%3F;',$id); + $id = str_replace(' ','_',$id); + $id = str_replace('&','_',$id); + $id = str_replace('?','_',$id); return ''.$matchs[3].''; } -- cgit v1.2.3