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

kaoutar's avatar
kaoutar
Icon for Cirrus rankCirrus
Oct 16, 2019

parameter value with an a sequence of parameters values

hello,

We have an application which is going to accept a sequence of parameters with their values as one parameter's value, i need to know which parameter type should i assign to this parameter?

for example a parameter "user" in an URL /aaa admit as value the sequence parameters values "{"username":"admin","title":{"id":5},"firstName":"gjhgjhg","lastName":"gjgjjhg","zipCode":"20000","address":"adresse"}

Regards.

12 Replies

  • Hi kaoutar,

     

    Your sequence of parameters, looks like Json Array.

    If it's JSON parameters, you can assign JSON value to parameter's value.

     

  • thank you for your reply.

    totally, it is a JSON value but when i assigned it as a JSON value, the asm triggered an Illegal empty parameter value violation and when i allow it as an empty value the problem disappears. the same thing when i modify the parameter type.

  • Hello,

    can you please explain to me how the ASM recognize the parameters with JSON value within the POST Body ??

    • Lidev's avatar
      Lidev
      Icon for Nacreous rankNacreous

      Hi,

      using the content-type or MIME media type in the request .

       

      for example:

      application/json

      application/x-javascript

      text/javascript

      text/x-javascript

      text/x-json