https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b967932
)
When we use TYPE_NOCLEAN and $this->magicquotes is on, be sure to strip slashes
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 26 Mar 2006 07:55:09 +0000
(07:55 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 26 Mar 2006 07:55:09 +0000
(07:55 +0000)
kernel.php
patch
|
blob
|
history
diff --git
a/kernel.php
b/kernel.php
index a6391a2e774c34af2c311728b273b8d380afcdff..ccd451031de18bfad690f74564ca209adfb2612f 100644
(file)
--- a/
kernel.php
+++ b/
kernel.php
@@
-1110,7
+1110,14
@@
class ISSO
}
else if ($type == TYPE_NOCLEAN)
{
- $value = $value;
+ if ($this->magicquotes)
+ {
+ $value = str_replace(array('\"', "\'"), array('"', "'"), $value);
+ }
+ else
+ {
+ $value = $value;
+ }
}
else
{