You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyper uses decodeURIComponent to parse query string. However, decodeURIComponent has an incorrect type as documented here, since it throws an exception on invalid input.
I'm unsure whether it would be better to wait for the related issue to be resolved or to use something else for decoding strings.
Activity
owickstrom commentedon Sep 4, 2017
Yeah, maybe we should switch over to https://pursuit.purescript.org/packages/purescript-uri/4.0.0/docs/Data.URI.Query. I just skimmed it, but it seems to be the corresponding thing, but with a safe parser and type.
bklaric commentedon Sep 4, 2017
Thanks, I'll look into it.