Closed filimonic closed 8 months ago
password is escaped when passed to qBittorrent-nox, and qBittorrent-nox does not respect this
Example: URL : http://qbt.domain.tld.net/api/v2/auth/login Username: admin Password: sl!mShady
http://qbt.domain.tld.net/api/v2/auth/login
admin
sl!mShady
torrent-add posts to /api/v2/auth/login : username=admin&password=sl%21mShady,
/api/v2/auth/login
username=admin&password=sl%21mShady
qBittorrent webUI posts : username=admin&password=sl!mShady
username=admin&password=sl!mShady
my bad, seems I had was a problem in qBT CSRF protection.
password is escaped when passed to qBittorrent-nox, and qBittorrent-nox does not respect this
Example: URL :
http://qbt.domain.tld.net/api/v2/auth/login
Username:admin
Password:sl!mShady
torrent-add posts to
/api/v2/auth/login
:username=admin&password=sl%21mShady
,qBittorrent webUI posts :
username=admin&password=sl!mShady