Forum Discussion
irfans_38826
Nimbostratus
Feb 28, 2008Search and replace a field in HTTP Header
I know iRules are capable of searching and replacing contents of a field in HTTP header, what I am wondering can it be done on dynamic content, in my case I am wondering if you can search for a partic...
hoolio
Cirrostratus
Feb 28, 2008Hi,
If you want to perform a replacement with dynamically generated strings, I think you'd need to collect the request data and use regsub and a backreference to replace the matched content with the string set to lowercase. If the replacement strings are the same length as the existing strings, you can use the credit card scrubber rule (Click here) as an example for how to collect the data and replace the strings.
Does anyone know if it would be possible to manipulate the payload with a binary scan and a simpler string map + string tolower combination instead?
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects