feat: add one additional asterisk
This commit is contained in:
parent
6a53e2c764
commit
c78b2075d8
@ -227,4 +227,4 @@ def parse_db_uri_for_logging(uri: str):
|
||||
if not parsed_db_uri.netloc: # No need for censoring as no password was provided
|
||||
return uri
|
||||
pwd = parsed_db_uri.netloc.split(':')[1].split('@')[0]
|
||||
return parsed_db_uri.geturl().replace(f':{pwd}@', ':****@')
|
||||
return parsed_db_uri.geturl().replace(f':{pwd}@', ':*****@')
|
||||
|
Loading…
Reference in New Issue
Block a user