Jeff_Goot_42327
Apr 26, 2012Nimbostratus
STREAM::expression Not Replacing All Occurrences
Here's the iRule:
when HTTP_REQUEST { ... }
when HTTP_RESPONSE {
STREAM::disable
if { [HTTP::header Content-Type] starts_with "text/" }{
STREAM::expression "@https://somedomain.com@@ @http://anotehrdomain.com@@"
STREAM::enable }
}
In my test that has 93 occurrences of https://somedomain.com in the response stream, 91 occurrences were replaced, but two were not. They're not the same occurrences all the time. Sometimes only 1 isn't replaced, sometimes 3.
I've tried using regexp but same result.
I'd appreciate any information.
Thanks, Jeff