voltace / browser-cookies

Tiny cookies library for the browser
The Unlicense
89 stars 19 forks source link

Fix parentheses escapes #27

Closed mike-marcacci closed 3 months ago

mike-marcacci commented 5 months ago

The current implementation only escapes the first instances of ( and ), which does not appear to be correct.

This was caught by a scanning tool, and on manual review it indeed appears that the intent was to escape all instances.