-
Notifications
You must be signed in to change notification settings - Fork 156
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
YAAW导出不支持带密码的rpc地址 #27
Comments
firefox? |
是的,firefox-。- FF21,linux。囧~ |
把586行,url.oepn中提供的url参数里面的 用户名/密码部份去掉就可以支持了. firefox对于http://user:pass@xxx的url似乎做了某些限制 |
var ARIA2 = (function() { function get_auth(url) { function request(jsonrpc_path,auth, method, params) { return function(jsonrpc_path) { 这么改一下,在firefox中通过了,其他的没测试 |
似乎在目前最新的commit 629496c3a4里也存在这个问题,当RPC需要密码验证时,Chrome下使用YAAW导出无效。 |
@jsntay 什么密码?token? |
不好意思,没有说清楚。就是当ARIA2中设置了JSON-RPC的用户名和密码的时候,使用形如http://name:[email protected]:6800/jsonrpc的地址并不能添加YAAW任务,而取消用户名和密码设置后就是正常的。 |
aria2版本是什么? |
1.18.3,webui-aria2等客户端均可使用用户名和密码与aria2正常连接 |
设置密码后用如下地址无法正常添加
http://name:[email protected]:6800/jsonrpc
取消密码后可正常添加
The text was updated successfully, but these errors were encountered: