git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for #1182
[jquery.git]
/
build
/
test
/
data
/
name.php
diff --git
a/build/test/data/name.php
b/build/test/data/name.php
index
03d805a
..
a4b990e
100644
(file)
--- a/
build/test/data/name.php
+++ b/
build/test/data/name.php
@@
-1,4
+1,5
@@
<?php
\r
<?php
\r
+error_reporting(0);
\r
$wait = $_REQUEST['wait'];
\r
if($wait) {
\r
sleep($wait);
\r
$wait = $_REQUEST['wait'];
\r
if($wait) {
\r
sleep($wait);
\r
@@
-6,7
+7,7
@@
if($wait) {
$xml = $_REQUEST['xml'];
\r
if($xml) {
\r
header("Content-type: text/xml");
\r
$xml = $_REQUEST['xml'];
\r
if($xml) {
\r
header("Content-type: text/xml");
\r
- eval("\$result = $xml;");
\r
+ $result = ($xml == "5-2") ? "3" : "?";
\r
echo "<math><calculation>$xml</calculation><result>$result</result></math>";
\r
die();
\r
}
\r
echo "<math><calculation>$xml</calculation><result>$result</result></math>";
\r
die();
\r
}
\r
@@
-18,5
+19,11
@@
if($name == 'foo') {
echo "pan";
\r
die();
\r
}
\r
echo "pan";
\r
die();
\r
}
\r
+$request = apache_request_headers();
\r
+$request = $request['X-Custom-Header'];
\r
+if(strlen($request) > 0) {
\r
+ echo $request;
\r
+ die();
\r
+}
\r
echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
\r
?>
\ No newline at end of file
echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
\r
?>
\ No newline at end of file