Skip to content

Conversation

@rudy-6-4
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the cla-signed label Nov 12, 2025
@rudy-6-4 rudy-6-4 force-pushed the rudy/fix/gw-listener/check-urls branch from 382cede to 634e625 Compare November 12, 2025 12:31
@rudy-6-4 rudy-6-4 marked this pull request as ready for review November 12, 2025 15:58
@rudy-6-4 rudy-6-4 requested a review from a team as a code owner November 12, 2025 15:58
@rudy-6-4 rudy-6-4 requested a review from obatirou November 12, 2025 15:59
Ok(domain_parts[0].to_owned())
}

fn is_url_suspicious(parsed_url_and_bucket: &Url) -> bool {
Copy link
Collaborator

Choose a reason for hiding this comment

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

no unit test?

Else lgtm
My understanding, url is suspicious if there are any of:

  • query
  • fragment
  • username
  • password
  • not http or https
  • no host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants