diff options
| author | 2026-01-28 08:21:25 +0100 | |
|---|---|---|
| committer | 2026-01-28 08:21:25 +0100 | |
| commit | 0df3a3c51c60977c4c9ef929de11cce79f77d2e2 (patch) | |
| tree | 12b1c1f0bb8f79ca53de85c2790984ca650fa811 /p/.htaccess | |
| parent | 4aabf235e90013a7128e21cb1fc9f17c64e62364 (diff) | |
Rewrite setcookie using new syntax (#8447)
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2630 now that we have PHP 7.3+ (even PHP 8.1+).
* The new syntax natively supports `samesite`, and also avoids the need of re-setting all parameters.
* Use automatic path instead of own function `getCookieDir()`.
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/8446
* Sanitize lifetime of session cookies from PHP ini to avoid likely invalid/misunderstood values
Diffstat (limited to 'p/.htaccess')
| -rw-r--r-- | p/.htaccess | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/p/.htaccess b/p/.htaccess index 06790616b..f6216a439 100644 --- a/p/.htaccess +++ b/p/.htaccess @@ -44,7 +44,6 @@ AddDefaultCharset UTF-8 Header merge Cache-Control "immutable" </If> </FilesMatch> - Header edit Set-Cookie ^(.*)$ "$1; SameSite=Lax" </IfModule> # Provide the true IP address of the connection (e.g. last proxy), even when using mod_remoteip |
