abstract-state-router icon indicating copy to clipboard operation
abstract-state-router copied to clipboard

When using pushState routing, encodeURI should be used instead of encodeURIComponent

Open TehShrike opened this issue 6 years ago • 0 comments

Reported by stalkerg in chat.

https://github.com/TehShrike/page-path-builder/blob/93a1c9130f6e17aa22689084b010ceecd7444b77/index.js#L20

Current thought on how to fix it: update page-path-builder to take an encode function as an option, and then add encode as an initialization option for ASR as well

TehShrike avatar Dec 04 '18 02:12 TehShrike