Forum Discussion

rafaelbn_305907's avatar
Icon for Nimbostratus rankNimbostratus
Dec 06, 2018

Removing whitespace from URI

APM ASM AWS Azure BIG-IP BIG-IP DNS BIG-IQ Enterprise Manager F5 Cloud Services iApps iCall iControl iControlLX iControlREST IP Intelligence Services iRules iRulesLX iWorkflow LTM MobileSafe Secure Web Gateway Silverline TMOS TMSH WebSafe


placeholder+image ANSWERS Edit Remove Whitespace from HTTP URI Updated 4 seconds ago•Originally posted on 06-Dec-2018 by rafaelbn 71 application delivery big-ip ltm Hello Guys.


I am having a problem, my application makes a get like:




Note that there is a space between teste and msg. I would like to put a %20 between the strings once this request come into BIG-IP.


I have tried Policies but without sucess, since I can only modify this part of the URI.


Thank you!


1 Reply

  • uzair's avatar
    Icon for Nimbostratus rankNimbostratus

    Below irule will help when HTTP_REQUEST { scan [HTTP::uri] %s%s temp1 temp2 HTTP::uri "$temp1%20$temp2" }