mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +00:00
## Why The URL parser treats backslashes as HTTP(S) path separators, while Git/libcurl does not. This difference can make a marketplace URL appear to match an allowed host pattern while Git connects to a different host. ## What changed Reject HTTP(S) URLs containing literal backslashes in userinfo when checking marketplace host patterns. Continue allowing encoded backslashes in userinfo and backslashes in paths or query strings. ## Testing Expand regression coverage to verify that denied URLs never invoke the cloner, create the marketplace install directory, or write configuration. Extend host-pattern tests to cover accepted HTTP(S) URL variants. GitOrigin-RevId: cfdd29d6e83fb1718b505abaae85d37257317953