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

当前端加密方式为RSA加密且公钥为url编码,phantomJS无法启动 #1

Open
sunu11 opened this issue Jul 19, 2018 · 6 comments

Comments

@sunu11
Copy link

sunu11 commented Jul 19, 2018

我用了您的这款插件,测试的脚本都可以正常使用,我在修改js模板文件,引用我自己测试的这个站点的js的过程中一直出现失败,求帮忙23332

@sunu11
Copy link
Author

sunu11 commented Jul 19, 2018

调试截图:
image

@c0ny1
Copy link
Owner

c0ny1 commented Jul 19, 2018

请提供一下你修改后的js模板文件

@c0ny1
Copy link
Owner

c0ny1 commented Jul 19, 2018

看了一下,你的调用似乎没错。附件上传一下js模板文件和加密算法的实现文件,我好在这边运行一下。

@sunu11
Copy link
Author

sunu11 commented Jul 19, 2018

我 qq 958130421方便的话我qq向您请教

@sunu11
Copy link
Author

sunu11 commented Jul 19, 2018

在大佬的帮助下,成功解决,原因:phantomJS不支持encodeURI()方法,可使用encodeURIComponent()方法代替。多谢老哥~

@sunu11 sunu11 changed the title 大佬 当前端加密方式为RSA加密且公钥为url编码,phantomJS无法启动 Jul 19, 2018
@sunu11
Copy link
Author

sunu11 commented Jul 19, 2018

closes #1

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