[geeklog-cvs] geeklog-1.3/public_html submit.php,1.57,1.58

dhaun at geeklog.net dhaun at geeklog.net
Fri Dec 5 15:04:12 EST 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv24699

Modified Files:
	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.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** submit.php	12 Sep 2003 11:51:03 -0000	1.57
--- submit.php	5 Dec 2003 20:04:10 -0000	1.58
***************
*** 508,511 ****
--- 508,512 ----
      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