projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e57a5
)
One stripslashes() removed
author
Alain Peyrat
<aljeux@free.fr>
Wed, 24 Mar 2010 20:04:05 +0000
(20:04 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Wed, 24 Mar 2010 20:04:05 +0000
(20:04 +0000)
gforge/common/tracker/ArtifactQuery.class.php
patch
|
blob
|
history
diff --git
a/gforge/common/tracker/ArtifactQuery.class.php
b/gforge/common/tracker/ArtifactQuery.class.php
index 0f8810d76643791fdf13cddd4c2570d9e3ca8f57..f79c9bfdbca30dabab94135937e3cea33c29a16d 100644
(file)
--- a/
gforge/common/tracker/ArtifactQuery.class.php
+++ b/
gforge/common/tracker/ArtifactQuery.class.php
@@
-416,7
+416,7
@@
class ArtifactQuery extends Error {
$type = $aef->getType();
if ($type == ARTIFACT_EXTRAFIELDTYPE_INTEGER) {
if (!preg_match('/^[><= \-\+0-9%]+$/', $vals[$i])) {
- $this->setError('Invalid Value for Integer type: '.
stripslashes($vals[$i])
);
+ $this->setError('Invalid Value for Integer type: '.
$vals[$i]
);
return false;
}
}