Closed (fixed)
Project:
Localizer
Version:
5.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2008 at 00:57 UTC
Updated:
17 Apr 2008 at 08:32 UTC
foreach ($_GET as $key=>$value) {
if ($key == 'q') continue;
if($query) $query .= '&';
$query .= $key .'='. $value;
}You cannot just concat $_GET variables into a query string, they need to be url encoded. This should be something like drupal_query_string_encode($_GET, array('q'))
Comments
Comment #1
Roberto Gerola commentedFixed.
Many thanks
Comment #2
mfbThanks. you forgot a semi-colon though ;)
Comment #3
Roberto Gerola commentedSeen. Refixed, thanks.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.