This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
We should redact the Application Service access tokens from DEBUG logging produced by synapse.http.proxyagent
#13010
Closed
Description
The Application Services spec requires an access_token
URL parameter for authorisation.
Setting a DEBUG
log level means that synapse.http.proxyagent
will log these access tokens in the URLs that it logs (possibly only if a HTTP proxy is in use?).
It would be nice if they were redacted so that it's one less thing to trip homeserver admins up on when sharing debug logs for diagnosing issues.
I think we do something similar for incoming Client-Server API requests already.