jshttp / cookie

HTTP server cookie parsing and serialization
MIT License
1.36k stars 159 forks source link

Loosen cookie name/value validation #210

Closed blakeembrey closed 2 days ago

blakeembrey commented 6 days ago

Closes https://github.com/jshttp/cookie/issues/191. All keys and values are supported in Safari. Although older or other browsers may not support some of these characters, I don't think we should be restricting it unless it's a security issue.

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (ba9e677) to head (8c9f866). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #210 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 160 159 -1 Branches 69 69 ========================================= - Hits 160 159 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: