abhijeetnishal / URLShortener

URL Shortener Deployed Link 👇🏻
https://urlsrtner.vercel.app
MIT License
37 stars 61 forks source link

Shorten URL's starting with "www" #140

Closed avayyyyyyy closed 1 month ago

avayyyyyyy commented 1 month ago

Describe the bug while entering the correct "www" URL, still getting that enter a valid URL.

Expected behavior It should also shortlist the URL's starting with "www.google.com"

Screenshots

Screenshot 2024-05-30 at 7 55 35 PM

Additional context Please assign this issue to me.

github-actions[bot] commented 1 month ago

Congratulations, @avayyyyyyy! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

abhijeetnishal commented 1 month ago

It should not work until it's https/http is there as URL contains this.

Contribute to other issues, good luck.

avayyyyyyy commented 1 month ago

it can work using regex

abhijeetnishal commented 1 month ago

Hey I think people rarely type URL www.... They will just copy and paste it that's why I think it's fine.