link tracking function is trimming long urls to 255 char
we have long urls which contains token key for download. when I click on the url it redirects to the original one which is trimmed to 255 characters.
You'll have to modify the database for that specific Postal server to alter the varchar field for url into a text field (or mediumtext etc)

Atech or someone else will have to add a migration to make a similar change. I'm not sure how to migrate those databases.
I think we can consider this a bug. there are many cases that urls are longer than 255 characters.
Yes it most certainly is but the only way to fix it is to make the database modifications I have mentioned.
I was unable to fix it locally. Not a Rails literate here. I ran into gem install issues and eventually gave up after days of debugging.
can someone please make a pull request for this bug?
As I said, the problem is in the database so you'll need to use MySQL tools to make the fix for now.
I've found a fix but it needs to be merged and run manually at the minute