You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loopback URL diagnostics keep inline credentials and query secrets in bili.log #6097
maskUrlForDiagnostics returns entire localhost/loopback URLs unchanged. That exemption retains userinfo, query parameters and fragments. Generic text redaction cannot recognize arbitrary passwords or every query key, so the host-event sink can write these bytes to the shared paste-able bili.log.
Reproduction
At master 541cf26, log a synthetic localhost URL with an arbitrary username/password, query and fragment using logHostEvent, then inspect its file. HTTP localhost, WS IPv4 loopback and SOCKS5 IPv6 loopback variants reproduce the omission: 26 passed / 4 failed on the base. Fixtures contain no real credentials.
Expected
Keep the local host, port and path visible while removing userinfo/query/hash. Preserve clean pathless local origins byte-for-byte. Disabling host masking still does not disable credential removal.
Prior work
Screened all 3,221 cached upstream PRs. #1719 adds generic secret/IP scrubbing; #3653 adds the loopback exemption and #4402 expands supported URL schemes. This fixes the remaining arbitrary URL secrets inside that exemption. Previous Afloat16 PRs #6046–#6055 are excluded.
Activity
ranxianglei commentedon Nov 12, 2026
Fixed in batch PR #6439 (merged).