RFC 2231 defines extensions for encoding values in MIME message parameters, including optional character-set and language information. Its encoded parameter form can represent text that ordinary parameter syntax cannot handle cleanly, such as filenames containing non-ASCII characters. An extended parameter may appear as filename*.
In cybersecurity, consistent parsing matters: a web application firewall and the application receiving an upload must interpret request headers the same way. If a firewall ignores an RFC 2231-style filename parameter while an application honors it, filename-based rules may inspect a different value from the one the application uses. Defenders should keep parsers updated, test upload handling across the full stack, and avoid relying on client-supplied filenames alone; validate file content and store uploads safely. RFC 7578, which specifies multipart/form-data, says filename* should not be used in that format, but implementations may differ.


