Skip to content

Commit c9f24c2

Browse files
committed
更新_worker.js,修复base64编码中的特殊字符处理
1 parent d41e955 commit c9f24c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export default {
168168
return base64.slice(0, base64.length - padding) + '=='.slice(0, padding);
169169
}
170170

171-
base64Data = encodeBase64(result);
171+
base64Data = encodeBase64(result.replace(/\u0026/g, '&'))
172172
}
173173

174174
if (订阅格式 == 'base64' || token == fakeToken) {

0 commit comments

Comments
 (0)