-
-
Save akadata/14a75522b524308d7eefc5a757aceefe to your computer and use it in GitHub Desktop.
Set all cookies set in the HTTP response to HttpOnly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acl httponly_cookie res.hdr(Set-Cookie),lower -m sub httponly | |
rspirep ^(set-cookie:.*) \1;\ HttpOnly if !httponly_cookie |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment