소스 검색

Merge branch 'hotfix/v4.9.13.2_ws' of qmx/jy into hotfix/v4.9.13.2

wangshan 1 년 전
부모
커밋
500e040d9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web/templates/pc/reloadTo.html

+ 1 - 1
src/web/templates/pc/reloadTo.html

@@ -12,7 +12,7 @@
     var targetPattern = /\/content\/(.+?)\./; // 匹配目标字符串
     var match = transfer.match(targetPattern);
     if (match && match[1]) {
-      window.location.href = transfer.replace(/\/content\/(.+?)\./, "/content/" + match[1] + ".");
+      window.location.href = transfer.replace(/\/content\/(.+?)\./, "/content/" + encodeURIComponent(match[1]) + ".");
       return
     }
     window.location.href = {{.T.transfer}};