Server actions, content type? #72961
-
SummaryWe've been exploring Server Actions for a bit. When we deploy our application behind an NGINX with ModSecurity enabled, we realized that it's blocked by this rule: It seems like the Server Actions are called by Thanks in advance! Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
It depends... I think if you submit a form then it uses, multipart/form-data,, for example:
Has these headers:
But this:
Has the headers you report:
I think those are the cases. We'd need to loop in React here, since Server Actions are a React feature...