]> git.scottworley.com Git - voter/blobdiff - src/main.rs
Set-Cookie flags are ;-separated
[voter] / src / main.rs
index 303393c150dab17af457194ab9501d6865821d98..f75557e95aa67f7bb9fc5fb98ebd8b8f67b743f6 100644 (file)
@@ -92,7 +92,7 @@ fn set_cookie(mut response: cgi::Response, path: &str) -> Result<cgi::Response,
                 COOKIE_NAME,
                 b"=",
                 &make_random_id(),
-                b"; Secure HttpOnly SameSite=Strict Max-Age=30000000 Path=",
+                b"; Secure; HttpOnly; SameSite=Strict; Max-Age=30000000; Path=",
                 path.as_bytes(),
             ]
             .concat(),