File nagios-fix_encoding_trends.cgi.patch of Package nagios.openSUSE_12.1_Update

--- cgi/getcgi.c.orig	2011-07-26 19:56:06.000000000 +0200
+++ cgi/getcgi.c	2011-07-26 20:18:47.000000000 +0200
@@ -96,6 +96,9 @@
 			break;
 		else if(input[x] == '%') {
 			input[y] = hex_to_char(&input[x+1]);
+			if ( input[y] == '+') {
+				input[y]=' ';
+			}	
 			x += 2;
 			}
 		else
openSUSE Build Service is sponsored by