Permalink
Browse files

Parse key value pairs sent in POST body (#4627)

Backported from the master branch.

Conflicts:
	msautotest
  • Loading branch information...
mkofahl authored and tbonfort committed Apr 4, 2013
1 parent ed18c11 commit 307376c7df0761c006197a4af13c75ed2fccca04
Showing with 2 additions and 2 deletions.
  1. +1 −1 mapows.c
  2. +1 −1 msautotest
View
@@ -95,7 +95,7 @@ static int msOWSPreParseRequest(cgiRequestObj *request,
owsRequestObj *ows_request)
{
/* decide if KVP or XML */
if (request->type == MS_GET_REQUEST) {
if (request->type == MS_GET_REQUEST || (request->type == MS_POST_REQUEST && strcmp(request->contenttype, "application/x-www-form-urlencoded")==0)) {
int i;
/* parse KVP parameters service, version and request */
for (i = 0; i < request->NumParams; ++i) {
Submodule msautotest updated from 5cc53a to c14d3e

0 comments on commit 307376c

Please sign in to comment.