From f89baa4cf563f8fd1dc44aaea1bf2e3797183ce6 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Sun, 14 Dec 2014 10:00:00 +0100 Subject: [PATCH] WebUI: Use case insensitive parameters for POST requests --- src/webui/httprequestparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httprequestparser.cpp b/src/webui/httprequestparser.cpp index 81289263f..8d0894d32 100644 --- a/src/webui/httprequestparser.cpp +++ b/src/webui/httprequestparser.cpp @@ -243,7 +243,7 @@ bool HttpRequestParser::parseContent(const QByteArray& data) while (i.hasNext()) { QPair pair = i.next(); - request_.posts[pair.first] = pair.second; + request_.posts[pair.first.toLower()] = pair.second; } return true;