Mercurial > p > roundup > code
view website/issues/html/_generic.calendar.html @ 5550:4d32fa88c5d2
Remove duplicate @csrf nonce from form. Duplicate nonce was causing:
File "/home/roundup/lib/python2.6/site-packages/roundup/cgi/client.py",
line 1154, in handle_csrf
key=self.form['@csrf'].value
AttributeError: 'list' object has no attribute 'value'
traceback.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 09 Oct 2018 19:48:15 -0400 |
| parents | a099ff2ceff3 |
| children | 7146b68ac263 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="stylesheet" type="text/css" href="@@file/style.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8;" /> <meta name="robots" content="noindex, nofollow" /> <title tal:content="string:Roundup Calendar"></title> <script language="Javascript" type="text/javascript" tal:content="structure string: // this is the name of the field in the original form that we're working on form = window.opener.document.${request/form/form/value}; field = '${request/form/property/value}';" > </script> </head> <body class="body" tal:content="structure python:utils.html_calendar(request)"> </body> </html>
