didierfred / SimpleModifyHeaders

Extension for firefox and chrome to modify headers
164 stars 30 forks source link

"Cookie Add/Modify" should insert a space after semicolon #49

Closed james-valente-simplisafe closed 1 year ago

james-valente-simplisafe commented 1 year ago

Browser

Firefox 110

Issue

When using the Cookie Add/Modify action, the cookie is added to an existing cookie by appending ;cookie_name=cookie_value without a space after the semicolon.

While I suspect that some web sites may tolerate this, the official spec calls for a space after the ;.

To Reproduce

Action Header Field Name Header Field Value Apply on
Delete Cookie anything Request
Add Cookie a=1 Request
Cookie Add/Modify b 2 Request

Result is Cookie: a=1;b=2.

Result should be Cookie: a=1; b=2.

References

didierfred commented 1 year ago

thank you for the issue , it will be solve in next release