Message8253
I get the occasional email from roundup with:
Traceback (most recent call last):
File "/home/app-roundup/roundup/lib/roundup/cgi/client.py", line 836, in inner_main
csrf_ok = self.handle_csrf()
^^^^^^^^^^^^^^^^^^
File "/home/app-roundup/roundup/lib/roundup/cgi/client.py", line 1646, in handle_csrf
if '@csrf' in self.form:
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/cgi.py", line 584, in __contains__
raise TypeError("not indexable")
TypeError: not indexable
Presumably, someone is posting rubbish to the URL; it can be reproduced using:
curl -X POST https://issues.example.com/ -H "Content-Type: text/plain" -d "test"
(replacing issues.example.com with a roundup instance) |
|
Date |
User |
Action |
Args |
2025-01-11 09:18:37 | cmeerw | set | recipients:
+ cmeerw |
2025-01-11 09:18:37 | cmeerw | set | messageid: <1736587117.5.0.986557630533.issue2551387@roundup.psfhosted.org> |
2025-01-11 09:18:37 | cmeerw | link | issue2551387 messages |
2025-01-11 09:18:37 | cmeerw | create | |
|