jazzband / dj-database-url

Use Database URLs in your Django Application.
https://pypi.org/project/dj-database-url/
BSD 3-Clause "New" or "Revised" License
1.48k stars 205 forks source link

fixed bug when password contains symbol like "#" will got unexpected data due to url fragment #60

Closed yxy closed 8 years ago

yxy commented 8 years ago

fixed bug when password contains symbol like "#" will got unexpected data due to url fragment

agriffis commented 8 years ago

Trying to interpret # in the password is incorrect, since the password should always be percent-encoded. Just replace the # with %23 and it should work.

agriffis commented 8 years ago

Oh nevermind, I see there's a bunch of stale PRs already in this project to support percent-encoding. :-(