Forum Discussion
Need help stripping out certain characters in the URI
Trying to develop an iRule to remove "<' ">" characters from a URI
I wrote a very simple iRule to accomplish this but what I see in the log is not what is being sent in the browser. for Example my irule is this:
when HTTP_REQUEST { log local0. "Incoming URI = [HTTP::uri]" set uri [string map -nocase {"<" "<"} [HTTP::uri]] log local0. "New URI = $uri" }
I am sending this in my browser and yes I know it will not work but it does log for me: http://10.9.49.155/<>oam/server
What I see in the log is this:
Jun 23 15:31:31 slot2/xxxxxxx info tmm[12824]: Rule /Common/convert_rule : Incoming URI = /%3C%3Eoam/server
so my irule never sees the "<"
Is the LTM deconding/encoding this string before I see it in the log? How can I get this to work?
Thanks, Kevin
2 Replies
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com