Malformed URI
See original GitHub issueIf there are other cookies that cause malformed-URI error then my cookies dont work because it crashes inside of get()
Cookies.set('meow', 'value');
console.log(Cookies.get('meow')); // exception
Here is what happens: I run a crappy web app on my PC. It stores perhaps-malformed cookies on localhost domain. Later I run my app. My code crashes when I call Cookies.get(). If I clear all cookies then the example code I posted above runs OK
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
URIError: malformed URI sequence - MDN Web Docs - Mozilla
URIError: malformed URI sequence. The JavaScript exception "malformed URI sequence" occurs when URI encoding or decoding wasn't successful.
Read more >Javascript decodeURI(Component) malformed uri exception
The decodeURIComponent() function in particular is supposed to decode data, not verify the URI. Wikipedia: Percent Encoding · RFC3986: URI Generic Syntax (2005)....
Read more >URIError: malformed URI sequence - JavaScript
The JavaScript exception "malformed URI sequence" occurs when URI encoding or decoding wasn't successful. Message. URIError: The URI to be encoded contains ...
Read more >JavaScript URIError | Malformed URI Sequence
This JavaScript exception malformed URI sequence occurs if the encoding or decoding of URI is unsuccessful. ... Cause of the Error: This error...
Read more >URIError: malformed URI sequence
URIError: The URI to be encoded contains invalid character (Edge) URIError: malformed URI sequence (Firefox) URIError: URI malformed (Chrome) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

https://jsfiddle.net/hinst/rcgrLq98/3/
New version released with this fixed.