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

SSHSSH_97332's avatar
SSHSSH_97332
Icon for Nimbostratus rankNimbostratus
Aug 08, 2014

Replace Query parameter value

http://www.example.com:8080/main/abc/index.jsp?user=test&login=check

 

at the above , i need to rewrite value of parameter "user" to new value , regarldess of current value as current value for the parametr "user" will be dynamic

 

ie : i don't want to just replace "test" with new value , i want to replace any value inside parameter "user" to new value

 

1 Reply

  • Try this;-

    when HTTP_REQUEST {
        set newvalue "blah"
         Set new value
        HTTP::uri [string map "[URI::query [HTTP::uri] user] $newvalue" [HTTP::uri]]
    }