[Pkg-javascript-commits] [dojo] 18/29: fixes #15973, Incorrect array key in xhrDummyMethod.php
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.11
in repository dojo.
commit c3c37057ebce153e692139774261511da51c8a4d
Author: dylans <dylan at dojotoolkit.org>
Date: Sat Dec 26 05:45:45 2015 -0700
fixes #15973, Incorrect array key in xhrDummyMethod.php
(cherry picked from commit c8bdcd43c03484d05a732a605681787529a92107)
---
tests/request/xhrDummyMethod.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/request/xhrDummyMethod.php b/tests/request/xhrDummyMethod.php
index d824b20..363b336 100644
--- a/tests/request/xhrDummyMethod.php
+++ b/tests/request/xhrDummyMethod.php
@@ -36,7 +36,7 @@ if (!empty($_SERVER['QUERY_STRING'])) {
$post = null;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- if(!strcmp($_SERVER['HTTP_CONTENT_TYPE'], 'application/x-www-form-urlencoded')){
+ if(!strcmp($_SERVER['CONTENT_TYPE'], 'application/x-www-form-urlencoded')){
$post = fix_raw_data(file_get_contents('php://input'));
}else{
$post = $_POST;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list