rea/bridge
Kaoru0822 e1fb40460d fix(capture): skip special-scheme leading slashes before userinfo
Ending the authority at a backslash exposed a credential: for
`https://\user:pass@host/path`, WHATWG parsing skips every leading "/"
or "\" after a special scheme (and in scheme-relative references), so
`user:pass` is userinfo, but the new boundary stopped at the first
backslash and found no "@". The same applied to `https:\\user:pass@host`
and `https:user:pass@host`.

Start the authority after that whole slash run for non-file special
schemes and scheme-relative references. File URLs keep their "//"
boundary because they carry no userinfo. Load the adapter in tests with
fresh mitmproxy stand-ins scoped to its import instead of leaving them
in sys.modules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 11:25:05 +00:00
..
android fix(android): preserve executable static initializer evidence (#1876) 2026-10-11 23:40:42 +08:00
ghidra fix(ghidra): resolve file offsets in decompile (#2101) 2026-10-13 18:23:17 +08:00
mitmproxy fix(capture): skip special-scheme leading slashes before userinfo 2026-10-13 11:25:05 +00:00
native fix(process): stabilize native capture and ownership prerequisites 2026-10-09 06:49:02 +08:00
nativeaot fix(ghidra): isolate optional nativeaot script sources 2026-10-11 09:35:22 +08:00
process fix(evidence): retain unreadable PE and Darwin process facts 2026-10-12 11:59:23 +08:00
pwndbg feat(native): inspect recorded crashes through pwntools and pwndbg (#1054) 2026-10-08 16:50:31 +08:00
pwntools fix(native): clarify Mach-O offset origins and reject partial ELF tables 2026-10-12 06:29:19 +08:00
hopper_bridge.py fix(hopper): preserve startup failures and recover denied launches 2026-10-11 22:35:01 +08:00