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

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14144]
From:       pdontthink () users ! sourceforge ! net
Date:       2011-09-11 1:11:03
Message-ID: E1R2YZb-00020Q-Jh () sfp-svn-1 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 14144
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=14144&view=rev
Author:   pdontthink
Date:     2011-09-11 01:11:03 +0000 (Sun, 11 Sep 2011)
Log Message:
-----------
Fixed broken highlighting form (missing security tokens) (#3381117)

Modified Paths:
--------------
    trunk/squirrelmail/src/options_highlight.php

Modified: trunk/squirrelmail/src/options_highlight.php
===================================================================
--- trunk/squirrelmail/src/options_highlight.php	2011-09-11 01:08:13 UTC (rev 14143)
+++ trunk/squirrelmail/src/options_highlight.php	2011-09-11 01:11:03 UTC (rev 14144)
@@ -32,7 +32,7 @@
 sqGetGlobalVar('color_type', $color_type);
 sqGetGlobalVar('match_type', $match_type);
 sqGetGlobalVar('value', $value);
-sqgetGlobalVar('smtoken', $submitted_token, SQ_POST, '');
+sqgetGlobalVar('smtoken', $submitted_token, SQ_FORM, '');
 
 /* end of get globals */
 
@@ -151,11 +151,13 @@
 
 $oTemplate->assign('current_rules', $rules);
 
+$token = sm_generate_security_token();
+
 $oTemplate->assign('add_rule', 'options_highlight.php?action=add');
 $oTemplate->assign('edit_rule', 'options_highlight.php?action=edit&theid=');
-$oTemplate->assign('delete_rule', 'options_highlight.php?action=delete&theid=');
-$oTemplate->assign('move_up', 'options_highlight.php?action=up&theid=');
-$oTemplate->assign('move_down', 'options_highlight.php?action=down&theid=');
+$oTemplate->assign('delete_rule', 'options_highlight.php?action=delete&smtoken=' \
. $token . '&theid='); +$oTemplate->assign('move_up', \
'options_highlight.php?action=up&smtoken=' . $token . '&theid='); \
+$oTemplate->assign('move_down', 'options_highlight.php?action=down&smtoken=' . \
$token . '&theid=');  
 $oTemplate->display('options_highlight_list.tpl');
 

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


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

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