s4

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 diff
     1.1 --- a/s4.cgi	Fri Aug 07 22:10:28 2015 +0900
     1.2 +++ b/s4.cgi	Tue Aug 11 08:38:52 2015 +0900
     1.3 @@ -66,7 +66,9 @@
     1.4      blog_reply $rowid
     1.5      ;;
     1.6    lshandout|gethandout)
     1.7 -    contenttype; echo
     1.8 +    if [ x"$stage" = x"lshandout" ]; then
     1.9 +      contenttype; echo
    1.10 +    fi
    1.11      rowid=${2%%[!A-Z0-9a-z_]*}
    1.12      if [ -z "$rowid" ]; then
    1.13        echo "話題番号が未指定です。" | html p