For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Torti's avatar
Torti
Icon for Cirrus rankCirrus
Jun 01, 2015

json attachment problem - multipart content

Hi, is there someone, who successfully run json requests with attachments through ASM (>= 11.5) without a "malformed json data" violation?

 

we allways get a the violation because of a '-' (minus).

 

The description is "Malformed document - Illegal character encountered - json syntax error" The problem is, there is no '-' in the message itself, it exist only in the encapsulation boundary.

 

I want to ask here, before I open a case.

 

Thx

 

3 Replies

  • It is difficult to say what the problem is without seeing the actual request.

     

    I have seen a similar issue once, but the problem was with the application - it was indeed using invalid JSON sysntax due to a issue with a JQuery lirary.

     

    A good idea is to check the syntax of JSON request here: http://jsonlint.com

     

  • nice, multipart requests are not supported for JSON.

     

    Again, It looks like we are the only company in the world, who is using this feature :-D

     

    So, how do it the rest of the world?