-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Case insensitive short links. #706
Comments
Hello @AndiCui Enabling a case insensitive mode would have more side effects than it looks like, and it would be easy to end up introducing some bug by accident. Since I see this a bit of an edge case, I'm afraid I have to leave it with a very low priority. I will leave the ticket here, and if enough users react to it, I will reconsider it. |
This issue has been closed for quite a while but did anyone find a workaround? For us this requires entering in multiple variations of a slug every time and is quite tedious (myspecialevent, MySpecialEvent, Myspecialevent, etc.) |
I'm also stuck with that. Coming from yourls, I didn't see it coming. |
To me, case insensitivity it is a very important feature too. |
Just leaving my comment here for another +1 to case insensitivity in shortlinks (not the generation like the previous comment but the original post) |
I wasn't going to implement case-insensitive short URLs, because there's a lot of things that could go wrong, but it has been requested a couple of times during the past years, so I have finally done it. I hope I don't regret it 😅 It's done in a slightly naive way, not covering all the edge cases, and with the only purpose that a short URL can be matched regardless of the use of uppercase or lowercase. The way it works is by providing a new config option, When
Things that are not covered:
I will release Shlink 3.5.0 in the next hours, including this feature. Feel free to report any issues found. |
Summary
We use the link shortener to make readable link for Google Form etc., so that we can put the link in places like Instagram posts or PowerPoint presentations where the link is not clickable for users. Something like
example.com/lecture-feedback
instead of something likeforms.gle/aCqGXMZNuW4kbJn79
. (Therefore, the shortlink is not necessary shorter, but more usable.)The problem is that if users do not realize that they are not dealing with a link shortener, they will assume that the link is not case sensitive. I think a case insensitive mode either for a link or server-wide would be really cool.
Case-insensitive considerations:
However, this is tricky and has a lot of implications. It's probably better to do it only on the short URL, which is the only route end-users can visit.
CLI: TBDThe text was updated successfully, but these errors were encountered: