question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If 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:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hinstcommented, May 10, 2016
0reactions
FagnerMartinsBrackcommented, May 29, 2016

New version released with this fixed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found