-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding root URL with slug /
does not work and is not deleteable
#663
Comments
That shouldn't really be allowed. I will make sure that gets validated and a meaningful error is returned. In order to configure a fallback redirect from your base domain, you have to pass the You can find more information here https://github.com/shlinkio/shlink/tree/develop/docker#supported-env-vars |
I got the Maybe it can be allowed that the empty URL I have in my instance can be deleted, but new empty ones can't be created? |
Yes, that's the plan. However, you can always manually delete that URL from the database, of you don't want to wait for the next release to be ready. |
Hey @Empty2k12 I'm afraid I cannot make this URL to be deletable. You will have to manually remove it from the database if it bothers you to see it there. |
@acelaya I appreciate your fix for this! I already deleted the URL so everything is fine. Thanks for your work, the product is excellent! |
Thanks for the kind words 🙂 |
Summary
Adding a new short URL with custom slug as
/
works, shlink displays this URL asdomain.tld
in the list. However the root URL does not resolve (https://domain.tld gives the 404 page) and the short URL cannot be deleted with the message:Something went wrong while deleting the URL :(
How Shlink is set-up
Docker: https://hub.docker.com/layers/shlinkio/shlink/stable/images/sha256-7a50dd4401dd366f9636c3fa146d9de82d3a918fb6d03807fa0a7a445582e8b6?context=explore
How to reproduce
On https://app.shlink.io/:
Insert the URL to be shortened
:https://gero.dev
andCustom Slug
:/
List short URLs
The text was updated successfully, but these errors were encountered: