Merge branch 'master' of https://github.com/szmoore/MCTX3420.git
authorJeremy Tan <[email protected]>
Tue, 27 Aug 2013 11:26:10 +0000 (19:26 +0800)
committerJeremy Tan <[email protected]>
Tue, 27 Aug 2013 11:26:10 +0000 (19:26 +0800)
server/fastcgi.c

index 00d8264..5922616 100644 (file)
@@ -258,7 +258,7 @@ void FCGI_RejectJSON(FCGIContext *context)
        FCGI_BeginJSON(context, STATUS_ERROR);
        FCGI_JSONPair("description", "Invalid request");
        FCGI_JSONLong("responsenumber", context->response_number);
-       FCGI_JSONPair("params", getenv("DOCUMENT_URI_LOCAL"));
+       FCGI_JSONPair("params", getenv("QUERY_STRING"));
        FCGI_JSONPair("host", getenv("SERVER_HOSTNAME"));
        FCGI_JSONPair("user", getenv("REMOTE_USER"));
        FCGI_JSONPair("ip", getenv("REMOTE_ADDR"));

UCC git Repository :: git.ucc.asn.au