Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

cookieHeader in getCookies is too smple #25

Open
mvkendall opened this issue Sep 19, 2019 · 0 comments
Open

cookieHeader in getCookies is too smple #25

mvkendall opened this issue Sep 19, 2019 · 0 comments

Comments

@mvkendall
Copy link

It does not comply with RFC since the space following the ; delimiter is optional. Ref https://tools.ietf.org/html/rfc6265#section-2.2

Could be changed to split( "; ?" );
; matches the character ; literally (case sensitive)
SP? matches the character SP literally (case sensitive)
? Quantifier — Matches between zero and one times, as many times as possible, giving back as needed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant