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.

Comments

dstol’s picture

Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new1.47 KB

This one works a little better and removes the nested if foreach control structure

irakli’s picture

Thanks 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

irakli’s picture

Status: Needs review » Fixed
irakli’s picture

For the final fix, had to commit this one too: http://drupal.org/cvs?commit=461470

Status: Fixed » Closed (fixed)

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