git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca2157
)
Fix params field for reject message
author
Jeremy Tan
<
[email protected]
>
Wed, 21 Aug 2013 14:10:40 +0000
(22:10 +0800)
committer
Jeremy Tan
<
[email protected]
>
Wed, 21 Aug 2013 14:10:40 +0000
(22:10 +0800)
server/fastcgi.c
patch
|
blob
|
history
diff --git
a/server/fastcgi.c
b/server/fastcgi.c
index
4fc3742
..
c662db9
100644
(file)
--- a/
server/fastcgi.c
+++ b/
server/fastcgi.c
@@
-248,7
+248,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