[geeklog-cvs] geeklog-1.3/public_html submit.php,1.54,1.54.2.1
dhaun at geeklog.net
dhaun at geeklog.net
Fri Dec 5 14:34:44 EST 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv23891
Modified Files:
Tag: geeklog_1_3_8_1_1
submit.php
Log Message:
Need to filter the 'category' field, just in case.
Index: submit.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/submit.php,v
retrieving revision 1.54
retrieving revision 1.54.2.1
diff -C2 -d -r1.54 -r1.54.2.1
*** submit.php 25 Jun 2003 08:39:02 -0000 1.54
--- submit.php 5 Dec 2003 19:34:41 -0000 1.54.2.1
***************
*** 521,524 ****
--- 521,525 ----
switch ($type) {
case 'link':
+ $A['category'] = strip_tags($A['category']);
if (!empty($A['title']) && !empty($A['description']) && !empty($A['url'])) {
if ($A['categorydd'] != $LANG12[18] && !empty($A['categorydd'])) {
More information about the geeklog-cvs
mailing list