Comment
This commit is contained in:
parent
781ea97666
commit
daed57c445
1 changed files with 0 additions and 1 deletions
|
@ -105,7 +105,6 @@ func scanHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
//if part.FileName() is empty, skip this iteration.
|
|
||||||
if part.FileName() == "" {
|
if part.FileName() == "" {
|
||||||
writeError(w, http.StatusBadRequest, "Filename is empty")
|
writeError(w, http.StatusBadRequest, "Filename is empty")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue