Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix: block URLs without a hostname#64248

Merged
evict merged 1 commit intomainfrom
vincent/external-url-fail-no-host
Aug 2, 2024
Merged

fix: block URLs without a hostname#64248
evict merged 1 commit intomainfrom
vincent/external-url-fail-no-host

Conversation

@evict
Copy link
Contributor

@evict evict commented Aug 2, 2024

In Go it's possible to have URLs without a valid host portion 🤷 . This has unintended side-effects when filtering hostnames.

Test plan

Tested that URLs that have no hostname are now blocked.

Changelog

@evict evict added the SSDLC label Aug 2, 2024
@evict evict requested review from a team, eseliger and jac August 2, 2024 13:56
@evict evict self-assigned this Aug 2, 2024
@cla-bot cla-bot bot added the cla-signed label Aug 2, 2024
@evict evict force-pushed the vincent/external-url-fail-no-host branch from 1548f0b to 80f0e49 Compare August 2, 2024 14:35
Copy link
Member

@jac jac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍🏻

@evict evict merged commit 1a834fd into main Aug 2, 2024
@evict evict deleted the vincent/external-url-fail-no-host branch August 2, 2024 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants