changeset 130:2601a0a70b0b

Fix content-type header
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 11 Aug 2015 08:40:14 +0900
parents ae68666b6949
children 9782a978d53c
files scripts/s4-sns.case
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/s4-sns.case	Tue Aug 11 08:38:52 2015 +0900
+++ b/scripts/s4-sns.case	Tue Aug 11 08:40:14 2015 +0900
@@ -38,7 +38,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