mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge.
This commit is contained in:
@@ -519,7 +519,7 @@ def mask_password_from_url( url ):
|
||||
# This can manipulate the input other than just masking password,
|
||||
# so the previous string replace method is preferred when the
|
||||
# password doesn't appear twice in the url
|
||||
split._replace(netloc=split.netloc.replace("%s:%s" % (split.username, split.password), '%s:********' % split.username))
|
||||
split = split._replace(netloc=split.netloc.replace("%s:%s" % (split.username, split.password), '%s:********' % split.username))
|
||||
url = urlparse.urlunsplit(split)
|
||||
return url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user