Forum Discussion

Kapil_Sharma_61's avatar
Kapil_Sharma_61
Icon for Nimbostratus rankNimbostratus
Dec 12, 2005

post fields and characters

Hi,

 

I am tring to send a post field to the backend server through BigIP.

 

 

The packet looks like (from the client side):

 

data=6jetmBWyLhqjQlC7UCyyYnO/02u9v/GyOmmWsUA7x8hUa57YDDXKJZ6BtSSkMQy7ZNVBQvc+YgpFDy70UufBRd3HjUKlI1P4Ic7aMJ0r

 

 

This same packet gets converted into the following on the BigIP:

 

data=6jetmBWyLhqjQlC7UCyyYnO%2F02u9v%2FGyOmmWsUA7x8hUa57YDDXKJZ6BtSSkMQy7ZNVBQvc%2BYgpFDy70UufBRd3HjUKlI1P4Ic7aMJ0r6

 

 

As you can see,

 

the character "/" gets replaced by "%2F"

 

The character "+" gets replaced by "%2B"

 

 

Can you please help me with this scenario!!

 

 

I am using the following irule on the bigip to display the post field:

 

when HTTP_REQUEST_DATA {

 

set payload [HTTP::payload [HTTP::payload length]]

 

log "the payload is $payload"

 

HTTP::release

 

}

 

 

Thanks,

 

kapil

 

2 Replies

  • BIG-IP will not do any HTML escaping conversions within the payload unless you specifically do so within an iRule.

     

     

    How exactly are you posting this information? If BIG-IP is presenting the data with the given HTML escapes then odds are it's your client that is the culprit.

     

     

    -Joe
  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    You can also try the URI::decode function on the BIG-IP to convert it back...