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
Commit 8760bc7
Browse filesBrowse the repository at this point in the historyBrowse files
test(vision): align SSRF tests with merged imageUrl validation
GoogleCloudPlatform#10389 landed with the ASCII-host check inlined in requireAllowedImageUrl and with explicit port 443 allowed. Update the tests to match:
- Drop the isAllowedImageHost unit tests; that helper is not part of the merged code. Unicode lookalike hosts are still covered at the URL level.
- Accept an explicit default HTTPS port (:443) and keep rejecting non-default ports (:80, :8080) and malformed ports.
- Remove the now-unused assertTrue/assertFalse imports.
0 commit comments