When I'm sending Multipart form data that includes a file, the file
isn't automatically base64 decoded.
I've pasted quite a bit of debugging information about this issue on the
fast-cgi-client bug tracker, but I really don't believe it's an issue
with the client I'm using:
https://github.com/hollodotme/fast-cgi-client/issues/64
I MUST be missing something very easy here. I've checked all the
configuration files for something obvious, but I'm stumped. What good
reason would PHP FPM have for not automatically decoding a base64
encoded file?
The only non-standard thing about my PHP FPM setup is that it is running
as root. This is not a public server. It's being used to send data
between back-end server nodes for private, controlled communication
only, and root is required in order to change ownership and permissions
of files.
ii php7.2-fpm 7.2.24-0ubuntu0.18.04.6 amd64
server-side, HTML-embedded scripting language (FPM-CGI binary)