diff options
Diffstat (limited to 'web/apache/request.ixx')
-rw-r--r-- | web/apache/request.ixx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/apache/request.ixx b/web/apache/request.ixx index 9fa9e6d..0d3aefc 100644 --- a/web/apache/request.ixx +++ b/web/apache/request.ixx @@ -55,7 +55,8 @@ namespace web form_data_.reset (new std::string ()); const char* ct (apr_table_get (rec_->headers_in, "Content-Type")); - if (ct && !strncasecmp ("application/x-www-form-urlencoded", ct, 33)) + if (ct && + strncasecmp ("application/x-www-form-urlencoded", ct, 33) == 0) { std::istream& istr (content ()); std::getline (istr, *form_data_); |