You should use decodeComponent instead of decode in your matchAll loop.

IMO encodeComponent and decodeComponent are the only two useful uri encode functions (btw same in JS, use decodeURIComponent instead of the other functions). The other ones have weird rules.

Reply via email to