Files
qBittorrent/src/gui
Chocobo1 130c0d8487 Revise cookie 'secure flag' enable condition
The localhost is 'potentially trustworthy' and RFC 6265 allows setting secure flag in this case.
Also check `X-Forwarded-Proto` header value to support reverse proxy usage.

Note: for reverse proxy users, now the `X-Forwarded-Proto` header is expected to be sent to qbt
otherwise the `secure` flag might be set erroneously.

https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.2.5
https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy

Closes #21250.
PR #21260.
2024-09-07 21:38:27 +08:00
..
2023-08-11 13:47:55 +08:00
2024-09-02 08:11:35 +03:00
2024-07-04 08:30:39 +03:00
2017-08-29 13:39:02 +08:00
2024-03-03 06:02:40 +02:00
2023-09-01 00:18:25 +08:00
2024-08-05 21:01:49 +08:00
2023-03-16 10:03:05 +03:00
2023-07-20 11:17:27 +03:00
2023-06-18 03:32:44 +08:00
2019-03-15 14:29:06 +08:00
2024-07-04 08:30:39 +03:00
2023-07-20 11:17:27 +03:00
2019-09-05 20:16:18 +08:00
2024-07-04 08:30:39 +03:00
2024-07-04 08:30:39 +03:00
2023-06-18 03:32:44 +08:00
2023-04-23 15:09:58 +08:00
2023-06-18 03:32:44 +08:00
2018-05-20 23:35:20 +03:00
2024-07-04 08:30:39 +03:00
2024-07-04 08:30:39 +03:00
2023-09-04 13:10:12 +08:00
2024-07-04 08:30:39 +03:00
2024-07-04 08:30:39 +03:00
2024-07-04 08:30:39 +03:00
2024-08-05 21:01:49 +08:00
2024-07-04 08:30:39 +03:00
2024-07-04 08:30:39 +03:00
2024-08-05 21:01:49 +08:00
2024-07-04 08:30:39 +03:00
2021-03-31 11:07:01 +08:00
2023-05-07 16:30:56 +08:00
2023-05-07 16:30:56 +08:00
2023-05-07 16:30:56 +08:00
2023-01-22 14:47:19 +03:00