Project:Path redirect
Version:5.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I'm using this Module in order to set up a short URL to give out to incoming ads and/or e-letter campaigns and have the link tracked via Google Analytics.

I discovered that there is a limit of 50 characters that can be in the Query segment (after the "?")

i.e. I have www.example.org/test with a path redirect to

?utm_source=key1&utm_medium=key2&utm_campaign=key3 (49 characters used here.)

As a work-around, I changed my keywords to fit within this limit. But if more tracking options are used, or longer keywords the limit will easily be reached. See http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578 for more details on the GA URL builder.

Can the max character length be made longer?

Thanks in advance.

Comments

#1

Version:5.x-1.1» 5.x-1.x-dev
Status:active» needs review

Very reasonable request. This patch bumps it up to 255. I realize that URLs can get longer than that, but I've never seen a practical limit determined, and this is a nice, standard number.

AttachmentSizeStatusTest resultOperations
path_redirect-5.x-1.x_querylength_1.patch2.35 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» reviewed & tested by the community

Of course, it would help if the admin interface would allow more than 50 characters, too. Patch for 6.x included, too; make sure you get the right one.

AttachmentSizeStatusTest resultOperations
path_redirect-5.x-1.x_querylength_2.patch2.9 KBIgnored: Check issue status.NoneNone
path_redirect-6.x-1.x_querylength_2.patch1.67 KBIgnored: Check issue status.NoneNone

#3

Status:reviewed & tested by the community» fixed

I tested these out again, going through the upgrade process, and they seem to work fine. I went ahead and committed them.

#4

Thank you!

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.