aboutsummaryrefslogtreecommitdiff
path: root/web/apache/request.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-30 19:20:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-06 20:34:25 +0200
commit8e866579cb459c5104c532d5e41d562d45236ea5 (patch)
treef72548e3499bfdc50bc1183ec014d14e6b53918c /web/apache/request.ixx
parentc188831c50456754de79aadc26df74149cb00422 (diff)
Implement loader
Diffstat (limited to 'web/apache/request.ixx')
-rw-r--r--web/apache/request.ixx3
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_);