[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.132,1.133

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Fri Sep 17 06:52:40 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv29400/public_html/admin

Modified Files:
	story.php 
Log Message:
Added missing bits and pieces for installing the SpamX plugin during database update.


Index: story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** story.php	4 Sep 2004 19:34:33 -0000	1.132
--- story.php	17 Sep 2004 10:52:37 -0000	1.133
***************
*** 874,878 ****
      // some minimal sanitizing on the story id ...
      $sid = str_replace (' ', '', $sid);
!     $sid = str_replace (array ('_', '/', '\\', ':'), '-', $sid);
      if (empty ($sid)) {
          $sid = COM_makesid ();
--- 874,879 ----
      // some minimal sanitizing on the story id ...
      $sid = str_replace (' ', '', $sid);
!     $sid = str_replace (array ('_', '/', '\\', ':', '+'), '-', $sid);
!     $sid = preg_replace('/[^a-zA-Z0-9\-]/', '', $sid);
      if (empty ($sid)) {
          $sid = COM_makesid ();




More information about the geeklog-cvs mailing list