changeset 8413:8a90350cc78b reauth-confirm_id

feat: fix jinja2 template remove expression type marker left over from tal conversion. filter function output for hiddent fields to unicode and mark as safe. client_nonce is not a callable.
author John Rouillard <rouilj@ieee.org>
date Thu, 14 Aug 2025 00:31:44 -0400
parents 0663a7bcef6c
children cc3edb260c1b
files share/roundup/templates/jinja2/html/_generic.reauth.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/share/roundup/templates/jinja2/html/_generic.reauth.html	Wed Aug 13 23:52:49 2025 -0400
+++ b/share/roundup/templates/jinja2/html/_generic.reauth.html	Thu Aug 14 00:31:44 2025 -0400
@@ -27,13 +27,13 @@
   <input type="submit" name="submit"
 	 value="{% trans %} Authorize Change {% endtrans %}">
   <input name="@csrf" type="hidden"
-	 value="{{ python:utils.anti_csrf_nonce() }}">
+	 value="{{ utils.anti_csrf_nonce() }}">
 
-  {{ utils.embed_form_fields(('submit',)) }}
+  {{ utils.embed_form_fields(('submit',))|u|safe }}
 
   </form>
 
-<script nonce="{{ request.client.client_nonce() }}">
+<script nonce="{{ request.client.client_nonce }}">
 /* This IIFE decodes the base64 file contents in the pre blocks,
    creates a new file blob for each one. Then adds a multiple file
    input and attaches all the files to it.

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