modihere / shortweb

Basic url shortener.
MIT License
15 stars 14 forks source link

Alias Clashing #49

Open danishanwar opened 6 years ago

danishanwar commented 6 years ago

If an user copies an URL "A" and shortens it using alias "X", now if another user copies URL "B" and gives it the same alias name "X". Then the newly shortened URL still points to the URL "A" and the pointer to URL "B" is lost i.e. URL "B" is not shortened although it shows on the website as URL "B" is shortened.

modihere commented 6 years ago

Yes that happens pretty often because that was a patch which worked correctly only in certain conditions. For now i have pulled down the site to code the workaround. If you find any you are welcome to file a PR.