Forum Discussion
George_Watkins_
Mar 19, 2013Historic F5 Account
The problem is that those unicode characters are not being interpreted due to the '{ }' around the stream expression. Can you give this a shot?
when HTTP_RESPONSE {
STREAM::disable
set encoding_header [HTTP::header value Encoding]
if { $encoding_header contains "text)" } {
if { $encoding_header contains "charset=utf-8" } {
set slash "\u002f"
} else {
set slash "/"
}
set expression "@http:$slash$slash@https:$slash$slash@"
STREAM::expression $expression
STREAM::enable
}
}
when STREAM_MATCHED {
log local0. "matched: [STREAM::match]"
}
Regards,
George