Message8392
In cgi/client.py we have:
# determine if view is oktmpl|errortmpl. If so assign the
# right one to the view parameter. If we don't have alternate
# templates, just leave view alone.
if (view and view.find('|') != -1):
# we have alternate templates, parse them apart.
(oktmpl, errortmpl) = view.split("|", 2)
Presumably, the last line should be:
(oktmpl, errortmpl) = view.split("|", 1)
to avoid a ValueError exception when there is more than one "|".
This can be triggered by something like
?%40template=forgotten%7c%7x
as a query parameter. |
|
Date |
User |
Action |
Args |
2025-06-02 11:14:39 | cmeerw | set | recipients:
+ cmeerw |
2025-06-02 11:14:39 | cmeerw | set | messageid: <1748862879.56.0.459520705705.issue2551406@roundup-tracker.org> |
2025-06-02 11:14:39 | cmeerw | link | issue2551406 messages |
2025-06-02 11:14:39 | cmeerw | create | |
|