-
-
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
Change original_url field size to use one which allows bigger sizes #1674
Comments
I'm afraid it's not easy to set database params dynamically, in a way that it's not confusing for users which would expect to be able to change that at any point in time (as it happens with the rest of the config options). I could explore making it the biggest possible text type on every database, but that could have some impact, specially on existing instances, so I need to investigate it a bit further. |
Major database solutions will only allocate as much space as needed. For example, you can check out the MySQL documentation at https://dev.mysql.com/doc/refman/8.0/en/char.html. The only thing to consider would be the possibility for abuse. |
Column type for long URLs has been changed to TEXT, allowing for much longer values. This change will be released with Shlink 4.0.0 |
Thank You! |
Summary
I need to shorten VERY long URLs (which work fine in Firefox/Chromium).
However, I face a Shlink limitation because it doesn't allow for URLs longer than 2048 characters (2KB).
I would love to be able to lift this limitation, for example, during database creation (ENV parameter?).
References
The text was updated successfully, but these errors were encountered: