s4
changeset 896:920818b41cd2
Application/{csv,json} forcibly handled as text/plain
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 31 Dec 2020 10:18:08 +0900 |
parents | c01b13db3bd3 |
children | 3d437261edca |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Sat Dec 26 20:45:07 2020 +0900 1.2 +++ b/s4-funcs.sh Thu Dec 31 10:18:08 2020 +0900 1.3 @@ -4482,7 +4482,7 @@ 1.4 ## err tv=$tv type=$type fn=$fn, tp2=${tv%\|*} 1.5 ct=${type#file:} 1.6 case $ct in # all text/* changed to text/plain 1.7 - text/*) 1.8 + text/*|application/csv|application/json) 1.9 charset=`nkf -g $bin|cut -d' ' -f1` 1.10 case $charset in 1.11 ASCII*) charset="" ;;