Forum Discussion

Irre_Levant's avatar
Mar 13, 2024

ignore nested Content-Type inside multipart/form-data

Hi,

 

i am trying to "Do nothing" for example on Content-Type: application/octet-stream which is nested inside a Content-Type: multipart/form-data.

It seems that the exceptions i can made at url level are only checking the headers (somehow to expect that) but does not check for Content-Types inside the multipart/form-data.

 

Anyone knows a solution for this?

  • Hi Yvonne,

     

    thanks for reply. Unfortunately i didnt understood this part:

    your server to treat application/octet-stream as a default or non-actionable content type

    What do you mean by "your sever"? The webserver behind the Big-IP or the VS? If you mean the VS, where to configure that?

  • multipart/form-data uses key-value format in the http request body
    example: key1=value1&key2=value2&key3=value3

    you can use irules to check that pattern in request body but in this case the ideal solution is filtering by webserver.
    they can use "try catch" mechanism or check of "undefined" in the server application code.
    basically, make the server application code to be foolproof.