Forum Discussion
CGI
Altostratus
Dec 19, 2013Swedish characters in a irule
Hi i need a redirect rule for a swedish url containing the swedish character ä
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "www.xxx.se/berätta" } {
HTTP::respond 30...
hoolio
Cirrostratus
Dec 19, 2013The client should URL encode non-ascii characters. Can you try logging the [HTTP::uri] value to confirm this?
Also, the [HTTP::uri] value will not typically include the host name.
https://devcentral.f5.com/wiki/iRules.http__uri.ashx For the following URL:
http://www.example.com:8080/main/index.jsp?user=test&login=check
The URI is:
/main/index.jsp?user=test&login=check
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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