vue-cookies
vue-cookies copied to clipboard
Problem with getting cookies with dot in their names.
I'm having an issue where the library is not able to get cookie values or keys if the cookie name is smth like this: bar.faz
Methods like this.$cookies.get('bar.faz') and this.$cookies.isKey('bar.faz) do not seem to work.
The issue looks like it's on this line:
new RegExp('(?:^|;\\s*)' + encodeURIComponent(key).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie)
Did you find a fix for this?