s4

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 diff
     1.1 --- a/scripts/s4-sns.case	Tue Aug 11 08:38:52 2015 +0900
     1.2 +++ b/scripts/s4-sns.case	Tue Aug 11 08:40:14 2015 +0900
     1.3 @@ -38,7 +38,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