You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Seven hand-written cookie parsers and six Set-Cookie formatters #303
Parsers:src/auth.rs:463, src/i18n.rs:230, src/proxy_auth.rs:289, src/routes/auth.rs:534 and :600, src/routes/sprint.rs:99, src/routes/oauth.rs:234.
Formatters, each with its own attribute string: src/auth.rs:482 and :490, src/i18n.rs:265, src/routes/auth.rs:524 and :589, src/routes/oauth.rs:198.
Fix, one PR: a cookies module with get(headers, name) and set(name, value, max_age, http_only, secure). The __Host- prefix from the hardening list then becomes a one-line change. tz_offset_secs (src/routes/sprint.rs) belongs here too.
From the code review of 24 November 2026. Line numbers are as of 0.5.0 (2547b36).
Activity