ccbikai / Sink

⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
https://Sink.Cool
GNU Affero General Public License v3.0
3.01k stars 1.62k forks source link

Links with / at the end dont work #56

Closed manuls closed 1 month ago

manuls commented 1 month ago

Hello,

If you have a URL shorted like http://go.com/sink and you go to http://go.com/sink/ it returns a 404. I know URLs should not have a forward slash at the end, but sometimes people write it this way and it becomes a problem. Mostly because you cannot add / to the slug

We worked it out with redirections rules in Cloudflare, but I think it can be an enhacement to have this solved.

manuelosorio commented 1 month ago

I noticed that as well. Made a pull request #54 a few days ago.

ccbikai commented 1 month ago

I‘m On Vacation. After The End, I Will Finish The Review As Soon As Possible And Merge.