facebook
facebook copied to clipboard
Access token included in log output
The hs_token is printed in the log output, which makes me a bit twitchy:
Jan 28 08:00:58 matrix python[470268]: [2021-01-28 08:00:58,639] [[email protected]] ::1 [28/Jan/2021:08:00:58 +0000] "PUT /transactions/205065?access_token=1DtE_MgG8KtnYX_XXXXXXXXXXX HTTP/1.1" 200 158 "-" "Synapse/1.25.0"
Could this maybe be blocked out when logging?
Spec issue (matrix-org/matrix-doc#2832), probably won't fix here
Ah, so this is a log of the requests coming from the homeserver? Fair enough, will keep an eye on that spec PR, thanks!
Ah, so this is a log of the requests coming from the homeserver? Fair enough, will keep an eye on that spec PR, thanks!
No it's not, but it should be fixed in spec to use header, not URL param