featurist / hyperdom

A fast, feature rich and simple framework for building dynamic browser applications.
https://hyperdom.org
MIT License
162 stars 14 forks source link

router calls decodeURIComponent on each path param #125

Closed joshski closed 5 years ago

joshski commented 5 years ago

When the router calls onload() on a route component, it decodes the query string parameters, but doesn't decode the path parameters.

This fixes that problem, so that path params can have e.g. whitespace in them.

refractalize commented 5 years ago

in v2.1.0, thanks @joshski!