Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

Fix crash when parsing illegal cookie strings

Created by: corrupt

We have a project right now where a website sets this set-cookie header that crashes WEC every time:

image

I added a check to filter the undefined entries returned from tough-cookie.Cookie.parse() for illegal set-cookie headers.

Merge request reports

Loading