$_SERVERplus-signs and whitespace

Hello,
I have the following Problem with Nginx 1.2.1-2.2
running on 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

A String like $_SERVER[‘QUERY_STRING’] = test=1+2 will get $_GET[‘test’]
= 1 2
I have found the following:

|$_GET||[||“q”||] = ||strtr||(||$_GET||[||“q”||], ||“+”||, ||" "||);|
at
http://www.dmuth.org/node/1268/how-get-rid-annoying-plus-signs-drupal-under-nginx

Is there a way to do this, in nginx config?

Regards,
basti

‘+’ in url equla ’ ’ (base64). if value has ‘+’, you must encode it.

example:
$a = “1+1”;
echo urlencode($a);

the correct url is: “http://x.com/?test=1%2B1


smallfish http://chenxiaoyu.org