Forum Discussion
smp_86112
Cirrostratus
Feb 08, 2008STREAM::replace
I'm trying to write a simple iRule using a STREAM profile on an LTM running 9.1.2. According to the iRules wiki, the STREAM::replace was introduced in 9.0.0. However this simple iRule generates the er...
hoolio
Cirrostratus
Feb 11, 2008If you're trying to collect response content and replace multiple instances of one string with another string of a different length, it gets pretty complicated. You need to update the indices for subsequent matches based on the length of the current replacement string.
Fixing the app or upgrading the BIG-IP and using the newer stream commands would be ideal options. If you try the payload option and need to replace multiple instances of the search string, let me know and I'll see if I can find a past rule we used.
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