Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
594 stars 49 forks source link

Sanitize HTTP Basic Auth Credentials in Logs #193

Open owine opened 1 year ago

owine commented 1 year ago

This is specifically relating to a scenario where an Autoscan instance is sending scan requests to another Autoscan instance which has password protected triggers. The scan sends successfully by populating the target as https://<user>:<pass>@autoscan.tld but then the username and password are in plaintext in the logs. It would be preferable if these were sanitized, at least for the log file if not for stdout as well.