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

fix: isUrl returns true for email addresses #2520

Open
mirkadev opened this issue Aug 14, 2024 · 0 comments
Open

fix: isUrl returns true for email addresses #2520

mirkadev opened this issue Aug 14, 2024 · 0 comments
Labels
status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature.

Comments

@mirkadev
Copy link

mirkadev commented Aug 14, 2024

Description

isUrl returns true for email address

    console.log(isURL('google.com')) // true (ok)
    console.log(isURL('[email protected]')) // true (why?)

Expected behavior

Should return false for email addresses

Actual behavior

Returns true

@mirkadev mirkadev added status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature. labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature.
Development

No branches or pull requests

1 participant