fix in displaying error message
authorPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 11:04:22 +0000 (12:04 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 11:04:22 +0000 (12:04 +0100)
index.cgi

index 9d74909..5dc55be 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -56,7 +56,7 @@ yield_page() {
        ] [body #top class="%s"
     ' "$class"
     cat
        ] [body #top class="%s"
     ' "$class"
     cat
-    [ "$message" ] && printf '[p #message\n%s\n]' $(l10n "$message")
+    [ "$message" ] && printf '[p #message\n%s\n]' "$(l10n "$message")"
     printf '] ]'
   } \
   | "${_EXEC}/cgilite/html-sh.sed"
     printf '] ]'
   } \
   | "${_EXEC}/cgilite/html-sh.sed"