[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.24, 1.25

Michael Jervis mjervis at qs1489.pair.com
Thu May 1 15:43:44 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv7887/system/classes

Modified Files:
	story.class.php 
Log Message:
Story security.

Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** story.class.php	12 Apr 2008 19:28:41 -0000	1.24
--- story.class.php	1 May 2008 19:43:42 -0000	1.25
***************
*** 373,377 ****
              $this->_expire = $story['expireunix'];
          } else {
!             $this->_expire = '';
          }
  
--- 373,377 ----
              $this->_expire = $story['expireunix'];
          } else {
!             $this->_expire = '0';
          }
  
***************
*** 1508,1512 ****
                  while( $start_pos !== false ) {
                      /* Copy in to start to out */
!                     $out .= MBYTE_substr($in, 0, $start_pos);
                      /* Find end */
                      $end_pos = MBYTE_strpos($inlower, '[/raw]');
--- 1508,1512 ----
                  while( $start_pos !== false ) {
                      /* Copy in to start to out */
!                     $out .= MBYTE_substr($inlower, 0, $start_pos);
                      /* Find end */
                      $end_pos = MBYTE_strpos($inlower, '[/raw]');
***************
*** 1542,1546 ****
                  while( $start_pos !== false ) {
                      /* Copy in to start to out */
!                     $out .= MBYTE_substr($in, 0, $start_pos);
                      /* Find end */
                      $end_pos = MBYTE_strpos($inlower, '[/code]');
--- 1542,1546 ----
                  while( $start_pos !== false ) {
                      /* Copy in to start to out */
!                     $out .= MBYTE_substr($inlower, 0, $start_pos);
                      /* Find end */
                      $end_pos = MBYTE_strpos($inlower, '[/code]');




More information about the geeklog-cvs mailing list