From aa52a9635f7b13c26b7e0d58b8bcf848a5363c11 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Wed, 31 Aug 2022 18:52:39 +0100 Subject: [PATCH] Correct output of headers. Remove erronious . --- cgi-bin/search.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cgi-bin/search.cgi b/cgi-bin/search.cgi index 4010a95..448cbf1 100755 --- a/cgi-bin/search.cgi +++ b/cgi-bin/search.cgi @@ -37,9 +37,9 @@ EOF } # Initial headers. -printf "%s: %s\\n\\n" "Content-type" "text/html" -printf "%s: %s\\n\\n" "Cache-Control" "no-cache, no-store, must-revalidate" -printf "%s: %s\\n\\n" "Pragma" "no-cache" +printf "%s: %s\\n" "Content-type" "text/html" +printf "%s: %s\\n" "Cache-Control" "no-cache, no-store, must-revalidate" +printf "%s: %s\\n" "Pragma" "no-cache" printf "%s: %s\\n\\n" "Expires" "1" # Extract cookies. @@ -101,7 +101,7 @@ else Search Results

- Search query: $Q_COPY
+ Search query: $Q_COPY
Searches may contain multiple terms, include (basic) globs,
and descend down from the current directory.