s4

changeset 883:8593ff2579f4

Ignore empty file-input form
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 16 Dec 2020 09:45:35 +0900
parents a46e85d50954
children 4e755437dbcb
files s4-funcs.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Wed Dec 16 09:20:52 2020 +0900
     1.2 +++ b/s4-funcs.sh	Wed Dec 16 09:45:35 2020 +0900
     1.3 @@ -1581,6 +1581,9 @@
     1.4  	      continue
     1.5  	    fi
     1.6  	    ;;
     1.7 +	  image|document|binary)
     1.8 +	    # When no file name supplied to input[type="file"]
     1.9 +	    continue ;;
    1.10  	  *)
    1.11  	    type='string'
    1.12  	    ;;