From 5d8b45c9fbbd40c5c1a43f23a6d0c2f284d2b6ba Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 12 Apr 2024 15:59:59 -0600 Subject: [PATCH] fileserver: Escape # and ? in img src (fix #6237) --- modules/caddyhttp/fileserver/browse.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html index 484d9002..fdc4b9c3 100644 --- a/modules/caddyhttp/fileserver/browse.html +++ b/modules/caddyhttp/fileserver/browse.html @@ -21,7 +21,7 @@ {{- else if .HasExt ".jpg" ".jpeg" ".png" ".gif" ".webp" ".tiff" ".bmp" ".heif" ".heic" ".svg"}} {{- if eq .Tpl.Layout "grid"}} - + {{- else}}