# HG changeset patch # User HIROSE Yuuji # Date 1609377488 -32400 # Node ID 920818b41cd2d6d12dba8acae401ec552ee8cf36 # Parent c01b13db3bd340ad562fb83c5a4c7410f64b1c29 Application/{csv,json} forcibly handled as text/plain diff -r c01b13db3bd3 -r 920818b41cd2 s4-funcs.sh --- a/s4-funcs.sh Sat Dec 26 20:45:07 2020 +0900 +++ b/s4-funcs.sh Thu Dec 31 10:18:08 2020 +0900 @@ -4482,7 +4482,7 @@ ## err tv=$tv type=$type fn=$fn, tp2=${tv%\|*} ct=${type#file:} case $ct in # all text/* changed to text/plain - text/*) + text/*|application/csv|application/json) charset=`nkf -g $bin|cut -d' ' -f1` case $charset in ASCII*) charset="" ;;