Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded #16

Open
lalalatutu opened this issue Sep 7, 2021 · 1 comment

Comments

@lalalatutu
Copy link

好像是hook到evel的代码执行转码有问题,尝试了这几个,好像都不管用
xhr.send(window.btoa(unescape(encodeURIComponent(jsCode))));
xhr.send(decodeURIComponent(escape(window.atob(jsCode))));

2687dc3f7e3dd21ce1cc9bfaf6dc699

@skyyearxp
Copy link

这个可能是启动 proxy-server 的时候,最好切换到 src\proxy-server 目录中后,再启动 proxy-server。我在项目根目录启动 proxy-server 时,遇到了和你上面相同的报错代码。切换目录后再启动就好了
cd src\proxy-server
node proxy-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants