mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #319 from mcarlton00/sanitize-url
Sanitize the server URL in log messages
This commit is contained in:
commit
d13114f3ab
1 changed files with 2 additions and 5 deletions
|
@ -44,11 +44,8 @@ class LogHandler(logging.StreamHandler):
|
|||
if server.get('AccessToken'):
|
||||
self.sensitive['Token'].append(server['AccessToken'])
|
||||
|
||||
if server.get('LocalAddress'):
|
||||
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
|
||||
|
||||
if server.get('ManualAddress'):
|
||||
self.sensitive['Server'].append(server['ManualAddress'].split('://')[1])
|
||||
if server.get('address'):
|
||||
self.sensitive['Server'].append(server['address'].split('://')[1])
|
||||
|
||||
self.mask_info = settings('maskInfo.bool')
|
||||
|
||||
|
|
Loading…
Reference in a new issue