Skip to content

Handle queries start with `#` or `?`

Choose a tag to compare

@cherifGsoul cherifGsoul released this 19 Sep 14:53
· 3 commits to master since this release

This removes ? and # characters from query parameters:
deparam("?foo=bar&number=1234"); // -> {"foo" : "bar", "number": 1234}
deparam("#foo[]=bar&foo[]=baz"); // -> '{"foo" : ["bar", "baz"]}

#18