Forum Discussion
MattB_MA_170307
Dec 11, 2014Nimbostratus
pretty basic question about an irule (I think)
I need to write an iRule that looks for a specific string and if it appears, remove angle brackets from the payload. So far I have this:
when CLIENT_DATA {
set haystack[string tolower [TCP::payload]]
if { $haystack contains "needle" } {
}
}
How do I go about replacing the contents of $haystack, and then releasing the payload to the server?
- MattB_MA_170307NimbostratusYes! That was exactly what I was looking for... thanks very much for pointing me to this.
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