Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[BUG] WebUI API broken #6977
Please provide the following information
qBittorrent version and Operating System:
What is the problem:
WebUI query "http://localhost:8080/query/torrents" returns nothing, no error no content, nothing.
What is the expected behavior:
Return a list of torrents in JSON format.
Steps to reproduce:
In the latest version there was a bugfix related to Cross-Site Request Forgery:
This has the side effect that if you don't supply the 'referer' header with every request, you can't do anything even if you have an authorisation cookie.
To fix this specify the header 'referer' to be 'http://localhost:8080' then it should work again.