[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15625] stripslashes
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15625] stripslashes |
Date: |
Thu, 8 Sep 2016 13:26:49 +0000 (UTC) |
Revision: 15625
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15625
Author: sigurdne
Date: 2016-09-08 13:26:49 +0000 (Thu, 08 Sep 2016)
Log Message:
-----------
stripslashes
Modified Paths:
--------------
trunk/phpgwapi/inc/class.db_adodb.inc.php
trunk/phpgwapi/inc/class.db_pdo.inc.php
Modified: trunk/phpgwapi/inc/class.db_adodb.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.db_adodb.inc.php 2016-09-08 12:45:01 UTC (rev
15624)
+++ trunk/phpgwapi/inc/class.db_adodb.inc.php 2016-09-08 13:26:49 UTC (rev
15625)
@@ -628,7 +628,7 @@
{
if ($strip_slashes ||
($this->auto_stripslashes && ! $strip_slashes))
{
- return
htmlspecialchars_decode(stripslashes($this->resultSet->fields[$name]));
+ return
htmlspecialchars_decode(stripslashes($this->resultSet->fields[$name]),ENT_QUOTES);
}
else
{
Modified: trunk/phpgwapi/inc/class.db_pdo.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.db_pdo.inc.php 2016-09-08 12:45:01 UTC (rev
15624)
+++ trunk/phpgwapi/inc/class.db_pdo.inc.php 2016-09-08 13:26:49 UTC (rev
15625)
@@ -831,7 +831,7 @@
{
if ($strip_slashes ||
($this->auto_stripslashes && ! $strip_slashes))
{
- return
htmlspecialchars_decode(stripslashes(str_replace(array('(;',
');'), array('(', ')'), $this->Record[$name])));
+ return
htmlspecialchars_decode(stripslashes(str_replace(array('(;',
');'), array('(', ')'), $this->Record[$name])),ENT_QUOTES);
// return
htmlspecialchars_decode(stripslashes($this->Record[$name]));
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15625] stripslashes,
sigurdne <=