git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec860d
)
Fixed eval code (Thanks Fil)
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Wed, 10 Jan 2007 15:04:54 +0000
(15:04 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Wed, 10 Jan 2007 15:04:54 +0000
(15:04 +0000)
build/test/data/name.php
patch
|
blob
|
history
diff --git
a/build/test/data/name.php
b/build/test/data/name.php
index
7f77a0b
..
a4b990e
100644
(file)
--- a/
build/test/data/name.php
+++ b/
build/test/data/name.php
@@
-7,7
+7,7
@@
if($wait) {
$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