racket / scribble

Other
194 stars 90 forks source link

search: handle URIError on decodeURIComponent #329

Closed sorawee closed 2 years ago

sorawee commented 2 years ago

Tools like Racket Mode could open a search page with an incorrectly encoded search query. While this is obviously the tools' fault, Scribble should be able to recover from the malformed input and not totally cease to function. This PR fixes the issue.