comparison website/issues/html/msg.item.html @ 5291:f63a2b15e628

Adding @csrf tokens to all forms using post method.
author John Rouillard <rouilj@ieee.org>
date Sun, 24 Sep 2017 21:17:51 -0400
parents c2d0d3e9099d
children 4ac0bbb3e440
comparison
equal deleted inserted replaced
5290:33e1cf136f1d 5291:f63a2b15e628
74 tal:attributes="action context/designator"> 74 tal:attributes="action context/designator">
75 75
76 <input type="hidden" name="@action" value="spambayes_classify"> 76 <input type="hidden" name="@action" value="spambayes_classify">
77 <input type="submit" name="trainspam" value="Mark as SPAM" i18n:attributes="value"> 77 <input type="submit" name="trainspam" value="Mark as SPAM" i18n:attributes="value">
78 <input type="submit" name="trainham" value="Mark as HAM (not SPAM)" i18n:attributes="value"> 78 <input type="submit" name="trainham" value="Mark as HAM (not SPAM)" i18n:attributes="value">
79 <input name="@csrf" type="hidden"
80 tal:attributes="value python:utils.anti_csrf_nonce()">
79 </form> 81 </form>
80 </th> 82 </th>
81 83
82 </tr>--> 84 </tr>-->
83 85

Roundup Issue Tracker: http://roundup-tracker.org/