Forum Discussion
mdcarson_58978
Aug 14, 2012Nimbostratus
Diacritics in iRules
(BIG-IP 11.1.0 Build 1943.0 Final) I have URIs with accented characters for some international sites. I can forward a URI with diacritics by URL encoding the destination address. ...
hooleylist
Aug 14, 2012Cirrostratus
If the URI is encoded properly by the browser, this should work as long as you set the cases to lower case:
when HTTP_REQUEST {
switch [string tolower [HTTP::uri]] {
/restauraci%c3%b3n {
HTTP::respond 301 Location "http://mydomain.com/newlocation"
}
}
Aaron
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