correct the url context When using $link = $_SERVER['QUERY_STRING']; in page.tpl.php the result of print is:
f1=All&amp;f2%5Bvalue%5D%5Byear%5D=2009&amp;f2%5Bvalue%5D%5Bmonth%5D=1
Is there a way to correct the url to print as:
f1=All&amp;f2[value][year]=2009&amp;f2[value][month]=1 
Thanks.
You just need to decode the string with urldecode():

$query_string = urldecode($_SERVER['QUERY_STRING']);