[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] CVS: squirrelmail/src search.php,1.92.2.15,1.92.2.16
From:       Thijs Kinkhorst <kink () users ! sourceforge ! net>
Date:       2006-06-29 14:18:35
Message-ID: E1FvxLn-0003GI-4w () sc8-pr-cvs8 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/squirrelmail/squirrelmail/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv12512

Modified Files:
      Tag: SM-1_4-STABLE
	search.php 
Log Message:
properly encode showbox before output


Index: search.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/src/search.php,v
retrieving revision 1.92.2.15
retrieving revision 1.92.2.16
diff -u -w -r1.92.2.15 -r1.92.2.16
--- search.php	14 Apr 2006 22:27:08 -0000	1.92.2.15
+++ search.php	29 Jun 2006 14:18:32 -0000	1.92.2.16
@@ -213,7 +213,8 @@
         } else {
             $showbox = imap_utf7_decode_local($mailbox);
         }
-        echo html_tag( 'div', '<b><big>' . _("Folder:") . ' '. $showbox.'</big></b>','center') . "\n";
+        echo html_tag( 'div', '<b><big>' . _("Folder:") . ' '. 
+            htmlspecialchars($showbox) .'</big></b>','center') . "\n";
 
         $msg_cnt_str = get_msgcnt_str(1, $cnt, $cnt);
         $toggle_all = get_selectall_link(1, $sort);


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic