Files
devvm/internal/redact
w3cjandClaude Opus 5.5 9c1af22910 fix(redact): find proxy passwords without a scheme and passwords split mid-line
redact.String takes the password out of a proxy URL without a scheme
(user:password@host:port), which needs the port and a user that starts a
word, so emails, mailto: links and ssh targets stay as they are.
redact.Split says where a writer may end part of a line: after its last
space or tab, at most 4 KiB before its end, never inside a secret. The run
log's redacting writer uses it when a line passes 64 KiB and at a logged
command's start (flushPart), and holds the rest for the next write, so a
password split there is still found; DieLogged and the run's end write it all.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 15:22:08 -07:00
..