Multipart POST returns 403 OpenResty

Website URL

https://lmisdumingag.com

Error Message

My website is https://lmisdumingag.com. Registration submissions return 403 Forbidden from OpenResty.
Testing /register.php shows:

  • Normal URL-encoded POST: HTTP 200, with the expected PHP validation error.
  • Multipart POST containing only registration_role=student, with no files: HTTP 403.
    Could you investigate why multipart requests are rejected and explain how to resolve it?

Other Information

My website is https://lmisdumingag.com. Registration submissions return 403 Forbidden from OpenResty.
Testing /register.php shows:

  • Normal URL-encoded POST: HTTP 200, with the expected PHP validation error.
  • Multipart POST containing only registration_role=student, with no files: HTTP 403.
    Could you investigate why multipart requests are rejected and explain how to resolve it?

Welcome to the InfinityFree community forum! Good to have you here.

  • Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
  • Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
  • AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
  • Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

This looks like the same problem several other people reported today: multipart POSTs get a 403 from OpenResty, while URL-encoded POSTs work. Two of those topics are below.

Here’s one where a multipart request with a single text field and no file is blocked:

And one where multipart POSTs to any path on the site are blocked, and they worked until yesterday:

I couldn’t find a knowledge base article or staff answer that explains the cause or gives a fix. Your tests show the 403 comes from the web server in front of PHP, so nothing in your code or settings is likely to change it. I can’t help with this one, and a person needs to have a look.