Files
anubis-mirror/lib
Timon de GrootandGitHub 5db8b5c452 feat: add HttpOnly cookie option (#1679)
This adds support for enabling the HttpOnly flag for cookies. Setting
this default option value to false makes it a conservative,
backwards-compatible change.

By using the HttpOnly flag, sites stay working even when using strict
cookie consent management tools, which is frequently used in EU sites to
comply with GDPR and ePrivacy directive.

The tests for setting cookies have been merged into a single
table-driven test structure, adding a test case for toggling the
HttpOnly option, while also adding a proper assertion for the custom
expiration option.

Assisted-by: Claude Opus 4.8 via Claude Code

Signed-off-by: Timon de Groot <[email protected]>
2026-06-11 11:36:07 -04:00
..
2026-05-30 00:48:43 -04:00
2026-05-30 00:48:43 -04:00
2026-05-30 00:48:43 -04:00
2026-05-30 00:48:43 -04:00
2026-04-24 14:37:19 +00:00
2026-05-30 00:48:43 -04:00