diff --git a/tools.go b/tools.go index ac165d9..9ede94c 100644 --- a/tools.go +++ b/tools.go @@ -273,7 +273,7 @@ func (t *Tools) UploadFiles(r *http.Request, uploadDir string, rename ...bool) ( t.MaxFileSize = defaultMaxUpload } - // Parse the form, so we have access to the file. + // Parse the form, so we have access to the file. Payload is limited to MaxFileSize. err = r.ParseMultipartForm(int64(t.MaxFileSize)) if err != nil { return nil, fmt.Errorf("error parsing form data: %v", err)