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
Currently only validation performed when submitting form is check for any input in URI to be shortened. Other possible validations should be included as well, ie. if using tailored cut URI, is URI taken already?
The text was updated successfully, but these errors were encountered:
Good one, currently id the short URI is taken we will fail silently. I don't know how we should do this but some shorteners I know just override existing links.
Good one, currently id the short URI is taken we will fail silently. I don't know how we should do this but some shorteners I know just override existing links.
Overriding does not sound good to me. I think it is to easy to loose your link if you choose some popular word. All of the sudden your shortened link (which might have been populated to many peers) will redirect to wrong address or some xxx content in worst case scenario :) The way I see possible solutions:
Once link is taken, it's taken and can not be reused
We can specify TTL of such URL (possibly allowing users to choose TTL value from predefined values)
Currently only validation performed when submitting form is check for any input in URI to be shortened. Other possible validations should be included as well, ie. if using tailored cut URI, is URI taken already?
The text was updated successfully, but these errors were encountered: