Mercurial > hgrepos > hgweb.cgi > s4
changeset 874:b2b0bb5bb707
Allow csv
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 28 Oct 2020 16:01:46 +0900 |
parents | cb1ff1dcb042 |
children | 380167e9cfcf |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Wed Oct 28 16:00:12 2020 +0900 +++ b/s4-funcs.sh Wed Oct 28 16:01:46 2020 +0900 @@ -62,9 +62,9 @@ ### maximagexy=400x400 filesize_max=$((5*1024*1024)) filesize_max_MB="$((filesize_max/1024/1024))MB" -file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/(pdf|csv),application/x-*"' +file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*,application/csv"' file_accept='accept=".jpg,.jpeg,.gif,.png,.tiff,.pdf,.odt,.ods,.odp,.odg,.mp3,.mp4,.avi,.ogg,.mov,.webm,.gpx,.json,.geojson,.kml,.html,.css,.rb,.c,.h,.txt,.tex,.sty,.zip,.xcf,.bz2,.gz,.xz,.7z,.csv,.dat"' -file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|.*zip|[xz]-|json))' +file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|.*zip|[xz]-|json|csv))' file_accept_help=" 添付可能ファイル: テキスト、画像、音声、動画、ODF、PDF、 圧縮ファイル、データベースファイル