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