[geeklog-cvs] Geeklog-1.x/public_html profiles.php,1.54,1.55

Michael Jervis mjervis at qs1489.pair.com
Wed Feb 20 15:27:27 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv26991/public_html

Modified Files:
	profiles.php 
Log Message:
Email user option: Form handles " incorrectly on re-display
(incomplete form submission)

Index: profiles.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/profiles.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** profiles.php	20 Feb 2008 20:07:58 -0000	1.54
--- profiles.php	20 Feb 2008 20:27:25 -0000	1.55
***************
*** 131,134 ****
--- 131,137 ----
              $retval .= COM_refresh($_CONF['site_url'] . '/index.php?msg=27');
          } else {
+             $subject = strip_tags ($subject);
+             $subject = substr ($subject, 0, strcspn ($subject, "\r\n"));
+             $subject = htmlspecialchars (trim ($subject), ENT_QUOTES);
              $retval .= COM_siteHeader ('menu', $LANG04[81])
                      . COM_errorLog ($LANG08[3], 2)
***************
*** 137,140 ****
--- 140,146 ----
          }
      } else {
+         $subject = strip_tags ($subject);
+         $subject = substr ($subject, 0, strcspn ($subject, "\r\n"));
+         $subject = htmlspecialchars (trim ($subject), ENT_QUOTES);
          $retval .= COM_siteHeader ('menu', $LANG04[81])
                  . COM_errorLog ($LANG08[4], 2)




More information about the geeklog-cvs mailing list