changeset 129:ae68666b6949

Fix content-type header
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 11 Aug 2015 08:38:52 +0900
parents 42234d2d6e9c
children 2601a0a70b0b
files s4.cgi
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4.cgi	Fri Aug 07 22:10:28 2015 +0900
+++ b/s4.cgi	Tue Aug 11 08:38:52 2015 +0900
@@ -66,7 +66,9 @@
     blog_reply $rowid
     ;;
   lshandout|gethandout)
-    contenttype; echo
+    if [ x"$stage" = x"lshandout" ]; then
+      contenttype; echo
+    fi
     rowid=${2%%[!A-Z0-9a-z_]*}
     if [ -z "$rowid" ]; then
       echo "話題番号が未指定です。" | html p

yatex.org