[pLog-svn] r3332 - plog/trunk/class/data

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu May 4 20:39:23 GMT 2006


Author: jondaley
Date: 2006-05-04 20:39:23 +0000 (Thu, 04 May 2006)
New Revision: 3332

Modified:
   plog/trunk/class/data/textfilter.class.php
Log:
oops.  domains need periods in them - and probably doesn't hurt to have them in the path side of URLs too

Modified: plog/trunk/class/data/textfilter.class.php
===================================================================
--- plog/trunk/class/data/textfilter.class.php	2006-05-04 11:04:53 UTC (rev 3331)
+++ plog/trunk/class/data/textfilter.class.php	2006-05-04 20:39:23 UTC (rev 3332)
@@ -412,7 +412,7 @@
             $string = str_replace($search, $replace, $string);
             
             // and everything that is still left that hasn't been replaced/encoded, throw it away
-            $string = preg_replace( '/[^a-z0-9 _-]/', '', $string );        
+            $string = preg_replace( '/[^a-z0-9 _.-]/', '', $string );        
             
             return $string;            
         }



More information about the pLog-svn mailing list