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 wrap: on
line diff
--- 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=""	;;

yatex.org