https URLs continue to extract the host via urlparse without hitting the scp fallback.
()
| 136 | |
| 137 | |
| 138 | def test_https_url_unchanged() -> None: |
| 139 | """https URLs continue to extract the host via urlparse without hitting the scp fallback.""" |
| 140 | host = InputHandler()._validate_url_host("https://github.com/org/repo.git", ALLOWED_GIT_HOSTS) |
| 141 | assert host == "github.com" |
| 142 | |
| 143 | |
| 144 | def test_scp_ssrf_gate_fires() -> None: |
nothing calls this directly
no test coverage detected