You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass url params object containing url encoded value, it's encoded once again, else it's not encoded at all.
What I'd like to achieve is encoding (once) a param containing a path to be used elswhere. I get %252Fap%252Fexample-func-1.html%2523%252F instead of %2Fap%2Fexample-func-1.html%23%2F.
I would like to encode value once, but it seems to be impossible now.
If I pass url params object containing url encoded value, it's encoded once again, else it's not encoded at all.
What I'd like to achieve is encoding (once) a param containing a path to be used elswhere. I get
%252Fap%252Fexample-func-1.html%2523%252F
instead of%2Fap%2Fexample-func-1.html%23%2F
.I would like to encode value once, but it seems to be impossible now.
This is cause by this line https://github.com/troch/path-parser/blob/master/modules/Path.ts#L190
If there is no way to prevent auto encoding - I'd be happy to introduce PR with update :)
I use router5 and here is an issue I filed there: router5/router5#404
The text was updated successfully, but these errors were encountered: