We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5ccaaf commit e45850cCopy full SHA for e45850c
main/rfc1867.c
@@ -911,7 +911,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
911
skip_upload = 1;
912
} else if (upload_cnt <= 0) {
913
914
- sapi_module.sapi_error(E_WARNING, "Maximum number of allowable file uploads has been exceeded");
+ if (upload_cnt == 0) {
915
+ --upload_cnt;
916
+ sapi_module.sapi_error(E_WARNING, "Maximum number of allowable file uploads has been exceeded");
917
+ }
918
}
919
920
/* Return with an error if the posted data is garbled */
0 commit comments