svelte-navigator icon indicating copy to clipboard operation
svelte-navigator copied to clipboard

URL encoding with special characters does not work as expected

Open SilverSomma opened this issue 1 year ago • 0 comments

Describe the bug

Encoded values with special characters given to the Route component do not result in a correctly decoded values inside of the components.

To Reproduce Steps to reproduce the behavior:

Pass on a encoded path variable into the Route component that contains the character '/' for example. Also works with characters like "; / ? : @ & = + $ , #".

https://svelte.dev/repl/904a05757be043a7a6c1f22332179472?version=4.2.8

Expected behavior

The result variable should contain the decoded special symbol not the encoded one.

SilverSomma avatar Jan 12 '24 09:01 SilverSomma