There is a known incompatibility issue in http_upload_module and nginx pcre2 engine that was reported to upstream almost a year ago at https://github.com/fdintino/nginx-upload-module/issues/140 Since that there were no upstream fixes for this issue but there is a pending pull-request at https://github.com/fdintino/nginx-upload-module/pull/142 that adds a new configuration file option that helps to work-around it. Due to the recent removal of the port option that allows to build nginx with the previous pcre engine it will be great if we could add the fix from that pull-request to the port to make nginx http_upload_module usable again.
Created attachment 242552 [details] Patch to incorporate work-around for the pcre2 issue Proposed patch that incorporates work-around from https://github.com/fdintino/nginx-upload-module/pull/142
Ping! Any update on this issue?
Created attachment 258377 [details] nginx extra-patch-ngx_http_upload_module.c and friends ^Triage: rebase patch.
(In reply to Mark Linimon from comment #3) Hi Mark! It seems that there is a newer patch available that doesn't introduce new configuration variables but just fixes the standard upload_pass_form_field functionality at https://github.com/fdintino/nginx-upload-module/pull/152 Maybe we should pick that one instead? But I haven't tested that patch by myself though.
Created attachment 258547 [details] New patch based on github pull request 152 This is a new simpler and smaller patch for the issue. It is based on https://github.com/fdintino/nginx-upload-module/pull/152 It doesn't introduce any new options but instead just brings back the previous upload_pass_form_field option behavior.
Created attachment 265443 [details] New patch based on github pull request 152 ^Triage: rebase patch.