Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Double encoding or no encoding #32
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
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 :)