Forum Discussion
CharlesCS
Jul 29, 2009Cirrus
Unfortunately, the following iRule still does not appear to be detecting the "\u002f" sequence correctly:
when HTTP_RESPONSE {
STREAM::disable
STREAM::expression "@http:{\\u002f\\u002f}pl2pass\.allegistest\.net@@"
STREAM::enable
}
when STREAM_MATCHED {
log local0. "[IP::client_addr]:[TCP::local_port]: matched: [STREAM::match], replaced with: [string map {http: https:} [STREAM::match]]"
STREAM::replace "[string map {http: https:} [STREAM::match]]"
}
It may be necessary to abandon the stream profile approach and instead try using the "regex_matches" operator.