abhijeetnishal / URLShortener

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

Shorten URL's starting with "www" #140

Closed avayyyyyyy closed 5 months ago

avayyyyyyy commented 5 months 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 5 months 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 5 months ago

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

Contribute to other issues, good luck.

avayyyyyyy commented 5 months ago

it can work using regex

abhijeetnishal commented 5 months ago

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