about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rwxr-xr-xpublic-inbox.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/public-inbox.cgi b/public-inbox.cgi
index 9d60d1fc..bd592ce3 100755
--- a/public-inbox.cgi
+++ b/public-inbox.cgi
@@ -95,7 +95,7 @@ sub main {
 sub r404 { r("404 Not Found") }
 
 # simple response for errors
-sub r { [ $_[0], { 'Content-Type' => 'text/plain' }, '' ] }
+sub r { [ $_[0], { 'Content-Type' => 'text/plain' }, $_[0]."\n" ] }
 
 # returns undef if valid, array ref response if invalid
 sub invalid_list {