diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/haserl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7b5a453..ed3c990 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([haserl],[0.9.32],[Nathan Angelacos - nangel@users.sourceforge.net],[haserl]) +AC_INIT([haserl],[0.9.33],[Nathan Angelacos - nangel@users.sourceforge.net],[haserl]) AM_INIT_AUTOMAKE # Checks for programs. diff --git a/src/haserl.c b/src/haserl.c index 6514604..b23a9da 100644 --- a/src/haserl.c +++ b/src/haserl.c @@ -488,7 +488,7 @@ ReadCGIPOSTValues (list_t * env ) /* at this point its either urlencoded or some other blob */ - if ( strncasecmp (getenv (CONTENT_TYPE), "x-www-form-urlencoded", 21) || + if ( ( strncasecmp (getenv (CONTENT_TYPE), "application/x-www-form-urlencoded", 33) == 0 ) || (getenv (CONTENT_TYPE) == NULL ) ) { urldecoding = 1; matchstr = "&"; |