Skip to content

Commit 0dfd126

Browse files
committed
Merge pull request #93 from sunbit/master
Unquote userame and password to accept slashes as on rfc3986
2 parents cbde688 + a64cf07 commit 0dfd126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rabbitpy/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def urlparse(url):
3535
parsed = _urlparse.urlparse(value)
3636
return Parsed(parsed.scheme.replace('http', 'amqp'), parsed.netloc,
3737
parsed.path, parsed.params, parsed.query, parsed.fragment,
38-
parsed.username, parsed.password, parsed.hostname,
38+
_urlparse.unquote(parsed.username), _urlparse.unquote(parsed.password), parsed.hostname,
3939
parsed.port)
4040

4141

0 commit comments

Comments
 (0)