diff options
| author | 2026-01-28 08:21:25 +0100 | |
|---|---|---|
| committer | 2026-01-28 08:21:25 +0100 | |
| commit | 0df3a3c51c60977c4c9ef929de11cce79f77d2e2 (patch) | |
| tree | 12b1c1f0bb8f79ca53de85c2790984ca650fa811 /tests | |
| 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 'tests')
0 files changed, 0 insertions, 0 deletions
