Closed hugochinchilla closed 1 year ago
RFC3986 obsoletes RFC1738, I will need to read also that and see if I'm missing something
I merged this in as https://github.com/Jaymon/dsnparse/pull/12 to make sure you still got credit. I had gone in and refactored the parsing a few months ago and didn't see this PR (Github's notifications just aren't working well for me) so I didn't need the functionality but I made sure the tests work as expected.
bah! I squashed and merged out of habit and so it truncated your commit out of the official history. Sigh
As per RFC 1738
Where uchar is defined as
A username or password with special characters ( ";" | "/" | "?" | ":" | "@" | "&" | "=") will have them encoded as the corresponding hex sequence escaped with a "%" character.
Currently urls with this kind of values are returned with escaped characters after parsing instead of showing the raw value. This pull request fixes this issue and adds the corresponding tests.