Closed (fixed)
Project:
Short URL
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2010 at 17:26 UTC
Updated:
22 Dec 2010 at 21:10 UTC
Jump to comment: Most recent file
Sometimes shorturls are used for campaign codes ?utm_source=google&utm_medium=cost-per-click but when passed through the shorturl_init() the query strings are dropped. Here's a preliminary patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | shorturl.module-987304-1.patch | 1.47 KB | dstol |
| shorturl.module.patch | 1.79 KB | BrockBoland |
Comments
Comment #1
dstolThis one works a little better and removes the nested if foreach control structure
Comment #2
irakli commentedThanks for the patch. It misses one use case, though: when original_url also has query parameters this code won't work.
Will fix that and commit.
Thanks
Comment #3
irakli commentedComitted: http://drupal.org/cvs?commit=461458
Comment #4
irakli commentedFor the final fix, had to commit this one too: http://drupal.org/cvs?commit=461470