Forum Discussion
CPHA_97141
Nimbostratus
Aug 29, 2008Generic iRule for URL scrubbing
Hi,
I am new to iRules and was wanted to see if anyone out there has a generic iRule to scrub the contents after a URL. I looked up the forums found credit card / SSN scrubbing but not ...
hoolio
Cirrostratus
Aug 31, 2008You can do this with an iRule. The performance is something you'll need to test as it depends on a lot of factors such as existing load on the 6400, throughput on the VIP, app response sizes, etc.
You can use a stream profile and iRule to perform replacements in the response body. You can check the STREAM::expression wiki page (Click here) for some examples. If you find that you can't determine exactly what strings you want to replace with just a regex, you could use the STREAM_MATCHED event to add additional logic. The last post in this thread has an example I tested (Click here).
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
