From e53d596ca2fc79e2d669776cc78bfd8c07167a5f Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Thu, 3 Oct 2024 09:52:04 +0200 Subject: [PATCH] templates: Encode specification name when generating URL. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/cuirass/templates.scm (specifications-table): Encode specification name when generating URL. Signed-off-by: Ludovic Courtès --- src/cuirass/templates.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm index 170b430..4390eca 100644 --- a/src/cuirass/templates.scm +++ b/src/cuirass/templates.scm @@ -378,7 +378,7 @@ system whose names start with " (code "guile-") ":" (br) (td (@ (class "column-name")) (a (@ (href "/jobset/" - ,(symbol->string (specification-name spec)))) + ,(uri-encode (symbol->string (specification-name spec))))) ,(symbol->string (specification-name spec)))) (td (@ (class "column-build"))