Forum Discussion
EB-Peter
Apr 20, 2021Nimbostratus
STREAM::expression matches on single char only
STREAM::expression {@AUSEFPPKI03@ZZ.ZZ@} never matches on the string "AUSEFPPKI03". If I substitute it with just an "A" (or any other character in the string), it does match but obviously doesn't giv...
crodriguez
Apr 21, 2021Ret. Employee
The encoding on the HTML data a would appear to be UTF-8, as specified in the first META tag that appears in the HTML stream.
<Meta HTTP-Equiv="Content-Type" Content="text/html; charset=UTF-8">
The default translation mode on a STREAM expression is ascii (which means ISO-8859-1, including ascii). Try adding a STREAM::encoding utf-8 command to the iRule (before the STREAM::enable) to see if that makes a difference.
- EB-PeterApr 21, 2021Nimbostratus
Where would you suggest I add that line? If I place it under 'HTTP_RESPONSE', i get the error:
error: [command is not valid in current event context (HTTP_RESPONSE)][STREAM::encoding utf-8]
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