You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After shortening a URL, we get an URL in form of https://urlsrt.vercel.app/data.
Now if we pass a arbitrary value in place of data then it shows the following.
In the example below, I used the URL : https://urlsrt.vercel.app/111222
So, I think if in getSpecificUrl() (in server/controller/urls.js)
once we find the data based on shortId then check if its null. If null, then we will redirect the user to an 404 page which will say that
"This link does not exist".
And will also add link to navbar, which will redirect to homepage.
Could you please assign this issue to me under GSSOC 24.
Congratulations, @Abh-I-seK! 🎉 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
Describe the bug
After shortening a URL, we get an URL in form of https://urlsrt.vercel.app/data.
Now if we pass a arbitrary value in place of data then it shows the following.
In the example below, I used the URL : https://urlsrt.vercel.app/111222
So, I think if in getSpecificUrl() (in server/controller/urls.js)
once we find the data based on shortId then check if its null. If null, then we will redirect the user to an 404 page which will say that
"This link does not exist".
And will also add link to navbar, which will redirect to homepage.
Could you please assign this issue to me under GSSOC 24.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The above screenshot.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: