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