guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ricardo Wurmus
Date: Tue, 13 Feb 2024 11:57:24 -0500 (EST)

branch: wip-js+css
commit be67de02464b1d4daf5ace4118f6d7768b0ed2e3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 13 15:49:39 2024 +0100

    templates: Escape forward slash in pattern.
    
    * src/cuirass/templates.scm (specification-edit): Escape forward slash in
    pattern string.
---
 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 2ade912..03cbf55 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -560,7 +560,7 @@ the existing SPEC otherwise."
                                 (class "form-control")
                                 (id "name")
                                 (name "name")
-                                (pattern "[^/]+")
+                                (pattern "[^\\/]+")
                                 (value ,(or name ""))
                                 ,@(if spec
                                       '((readonly))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]