Skip to content

fix: ensure both URL format and status code are validated - #1

Merged
david-mears-2 merged 1 commit into
david-mears-2:masterfrom
SquidBits1:master
Feb 21, 2026
Merged

fix: ensure both URL format and status code are validated#1
david-mears-2 merged 1 commit into
david-mears-2:masterfrom
SquidBits1:master

Conversation

@david-mears-2

Copy link
Copy Markdown
Owner

Directly copying: toby-p#51

Modified the '_validate_url' method to require both a valid URL prefix and a 200 status code for URL validation. Previously, the method could pass validation if only one condition was met, leading to false postitives.

Modified the '_validate_url' method to require both a valid URL prefix and a 200 status code for URL validation. Previously, the method could pass validation if only one condition was met, leading to false postitives.
@david-mears-2
david-mears-2 merged commit 217aa48 into david-mears-2:master Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants