Forum Discussion
MattB_MA_170307
Nimbostratus
Dec 11, 2014pretty 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?
2 Replies
- MattB_MA_170307
Nimbostratus
Yes! That was exactly what I was looking for... thanks very much for pointing me to this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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