Forum Discussion
Sure, you just need to append that expression variable. Make sure you add a space after every entry or the expression syntax will be off. If you find more unicode characters that aren't matching, you'll need to map those as well. Here's an example with a few other expressions:
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@ "
append expression "@abc.example.com@new.example.com@ "
append expression "@Some other text@Some new text@ "
append expression "@some curse word@polite version@"
STREAM::expression $expression
STREAM::enable
}
}
when STREAM_MATCHED {
log local0. "matching with expression set: $expression"
log local0. "matched: [STREAM::match]"
}
Make sense? Did the other example correctly replace those links in your Sharepoint page?
-George