From 8e866579cb459c5104c532d5e41d562d45236ea5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 Jun 2015 19:20:16 +0200 Subject: Implement loader --- web/apache/request.ixx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/apache/request.ixx') 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_); -- cgit v1.1