[pLog-svn] r7235 - plog/branches/lifetype-1.2/class/data

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Jul 14 01:31:27 EDT 2020


Author: jondaley
Date: 2020-07-14 01:31:27 -0400 (Tue, 14 Jul 2020)
New Revision: 7235

Modified:
   plog/branches/lifetype-1.2/class/data/kses.class.php
Log:
had to use the regular preg_replace due to the $this, my_preg_replace cannot deal with that. maybe should look into whether we should really use my_preg_replace everywhere or not

Modified: plog/branches/lifetype-1.2/class/data/kses.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/data/kses.class.php	2020-07-14 05:09:38 UTC (rev 7234)
+++ plog/branches/lifetype-1.2/class/data/kses.class.php	2020-07-14 05:31:27 UTC (rev 7235)
@@ -610,7 +610,7 @@
 		###############################################################################
 		function _bad_protocol_once($string)
 		{
-			return my_preg_replace(
+			return preg_replace(
 				'/^((&[^;]*;|[\sA-Za-z0-9])*)'.
 				'(:|:|&#[Xx]3[Aa];)(\/|/|&#[Xx]2[Ff];)(\/|/|&#[Xx]2[Ff];)\s*/e',
 				'\$this->_bad_protocol_once2("\\1")',



More information about the pLog-svn mailing list