X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Ffastcgi.c;h=9ff3accf3013cdcc89c25e481978931a919ae1c1;hb=b76203e2a2b29a4e2f9e8db7ae399e6e32570715;hp=c24678167adb9dbbb2efc9f3c265e76457b06693;hpb=f4f4c762db8c7cb2934bb03ae85063e453d68169;p=matches%2FMCTX3420.git diff --git a/server/fastcgi.c b/server/fastcgi.c index c246781..9ff3acc 100644 --- a/server/fastcgi.c +++ b/server/fastcgi.c @@ -556,7 +556,7 @@ char *FCGI_URLDecode(char *buf) if (isxdigit(*tail) && isxdigit(*(tail+1))) { hex[0] = *tail++; hex[1] = *tail++; - char val = (char)strtol(hex, NULL, 16); + val = (char)strtol(hex, NULL, 16); //Control codes --> Space character *head++ = (val < 0x20) ? 0x20 : val; } else { //Not valid format; keep original