[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.399,1.400
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Fri Dec 10 04:22:24 EST 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv27639/public_html
Modified Files:
lib-common.php
Log Message:
Fixed wrong use of htmlentities() on comment title (bug #335)
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.399
retrieving revision 1.400
diff -C2 -d -r1.399 -r1.400
*** lib-common.php 14 Nov 2004 14:06:13 -0000 1.399
--- lib-common.php 10 Dec 2004 09:22:22 -0000 1.400
***************
*** 2910,2915 ****
$A['title'] = stripslashes( $A['title'] );
$A['title'] = str_replace( '$', '$', $A['title'] );
- $A['title'] = htmlentities($A['title']);
// and finally: format the actual text of the comment
--- 2910,2915 ----
$A['title'] = stripslashes( $A['title'] );
+ $A['title'] = htmlspecialchars( $A['title'] );
$A['title'] = str_replace( '$', '$', $A['title'] );
// and finally: format the actual text of the comment
More information about the geeklog-cvs
mailing list