Files
hermes-agent/agent
Teknium 2658dbfb36 fix(redact): strict URL masking stops at a JSON quote too
Review bot (P2, 4480379637): redact_url_credentials=True (what
sanitize_memory_context uses) runs _STRICT_URL_USERINFO_RE after the
patterns this PR fixed. It still let userinfo cross a ", so memory
context turned {"@context":"https://schema.org","@type":"Thing"} into
https://***:***@type. It now excludes " as well; real userinfo inside
a JSON string ({"u": "https://user:pw@host"}) is still masked.
Covered in TestUserinfoStopsAtQuote, which fails on c3207154990.
2026-11-05 08:40:28 -08:00
..
…
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-10-21 23:05:11 -04:00
…
…
2026-10-20 22:18:49 -04:00
2026-10-21 23:05:11 -04:00