brefphp / bref

Serverless PHP on AWS Lambda
https://bref.sh
MIT License
3.09k stars 367 forks source link

Fix "internal error" on invalid cookies #1695

Closed mnapoli closed 9 months ago

mnapoli commented 9 months ago

I stumbled on an internal error in the Bref codebase when given invalid cookie values. This PR makes the code more defensive and follows some standard behavior in this case.