mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add upgrade-insecure-requests to CSP when HTTPS is enabled
This option automatically upgrades all http connections to https. It ensures http urls cannot be accessed when in https mode, and is intended as a security measure.
This commit is contained in:
@@ -146,4 +146,5 @@ private:
|
||||
// security related
|
||||
bool m_isClickjackingProtectionEnabled;
|
||||
bool m_isCSRFProtectionEnabled;
|
||||
bool m_isHttpsEnabled;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user