Jump to content

Avoid line wrapping of long URL in download email


Guest bennyuk

Recommended Posts

Guest bennyuk

Hi

(as I wrote this question I kinda answered some if it myself - but I'd still like to know if anyone else has this issue)

Some of my download links that are sent in the confirmation emails are wrapping in email progs due to the common 65 character limit. Has anyone else had a problem with this?

eg http://www.longurl-as-its-the-one-that-the...amp;ak=hKvuQWP2

Can any of the arguments be shortened? I think they might be able to...

%s/download.php?pid=%s&oid=%s&ak=%s

eg oid (order_id) or ak (access_key)?

Looking further, it looks like I could reduce the accessKey by changing "function randomPass()" in includes/functions.inc.php to be less than 8 characters. and maybe I could make it hex...

Now how can I reduce the order_id number? OK I see I can edit line 65 in gateway.inc.php This should help.

So back to the question, has anyone else had problems with download URLs being wrapped badly in emails?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...