-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Describe the bug
It's not possible to get cookies with a . in their name, like ab-test.variant-1. For now, a workaround is to not use . in the name like ab-test_variant-1.
It's still possible in the plugin to write cookies with . in their name and the cookie shows up both in the HTTP request headers and in the request tab in the debugger toolbar.
While this issue has a simple workaround, it can cause some time spent on debugging and that I see that some third-party tools set cookie names with . in them and they won't be possible to get with this plugin.
To reproduce
Steps to reproduce the behaviour:
- Use getCookie() on any cookie with
.in it's name - Get nothing
Expected behaviour
Get the value from the cookie or a error that I can't use this symbol for retrieving cookies.
Versions
- Plugin version: 5.0.0
- Craft version: 5.7.4
Reactions are currently unavailable