Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for URL validation #23

Merged
merged 5 commits into from
May 24, 2024
Merged

Add support for URL validation #23

merged 5 commits into from
May 24, 2024

Conversation

snshn
Copy link
Contributor

@snshn snshn commented May 23, 2024

No description provided.

@snshn snshn requested a review from asim-shrestha May 24, 2024 01:13
Comment on lines +141 to +142
# expected
"",
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't need an expected given this is raising an exception (Don't need to assert anything)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True that!

# 10
(
# url
"mailto:[email protected]",
Copy link
Contributor

Choose a reason for hiding this comment

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

oh, we get a lot of these when trying to retrieve email info. Would be a good validation candidate there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And I believe we'll also need to match ones without mailto: scheme for Email type, right?

@asim-shrestha asim-shrestha merged commit 0e2375c into main May 24, 2024
4 checks passed
@snshn snshn mentioned this pull request May 24, 2024
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