Files
zoneminder/tests/php
Nic BoetandClaude Opus 5.5 cffa439c31 fix: redact credentials from the login redirect in the debug log
An unauthenticated request is redirected to the login view with its
query string in postLoginQuery, and index.php logged that redirect at
debug level: an expired or refused auth= hash, a token= JWT or a
password= sent in the URL went into the log twice, once in the
"Redirecting to" line and once in the next request's parameter dump.

redactForLog() now also redacts query strings found inside values, and
the redirect line goes through the new redactQueryString().

Found by the web probe on the fix branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:27:39 -05:00
..