[Custom Form] Redirection after submission of a file

[Custom Form] Redirection after submission of a file

Hello,

we updated your module "Custom form" to 1.18.2 while updating the website of a customer to 2.4.5 recently and there is a change of behaviour when submitting forms that contain a file.
While the form has the success_url value of "/", when uploading a file in the form, before the update we were redirected to the form page, but now we are redirected to the homepage. Is it an evolution of the module or a bug ? Do you have any advice to reproduce the same behaviour as before ?

Thank you in advance.