mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
parent
22ea508ff6
commit
72ac92ec68
7 changed files with 365 additions and 209 deletions
|
@ -554,7 +554,7 @@ Http::Response WebApplication::processRequest(const Http::Request &request, cons
|
|||
// block suspicious requests
|
||||
if ((m_isCSRFProtectionEnabled && isCrossSiteRequest(m_request))
|
||||
|| (m_isHostHeaderValidationEnabled && !validateHostHeader(m_domainList)))
|
||||
{
|
||||
{
|
||||
throw UnauthorizedHTTPError();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue