Hi

Dirty but working patch:

diff -u nagios3-3.0.3.orig/cgi/getcgi.c nagios3-3.0.3/cgi/getcgi.c
--- nagios3-3.0.3.orig/cgi/getcgi.c     2006-05-15 20:59:24.000000000 +0400
+++ nagios3-3.0.3/cgi/getcgi.c  2008-08-14 14:31:47.000000000 +0400
@@ -97,6 +97,9 @@
                else if(input[x]=='%'){
                        input[y]=hex_to_char(&input[x+1]);
                        x+=2;
+                       if (input[y]=='+'){
+                               input[y]=' ';
+                               }
                        }
                else
                        input[y]=input[x];


--
With MBR
Max
CCSA/CCSE



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to