Mark_S__182830
Apr 06, 2015Nimbostratus
iRule w/Special Character (#) in Original URI
I am using my standard redirect syntax, however I believe it is broken due to using a in the source URI.
I've tried using a \ to escape it, as well is curl brackets with no success.
Help would be greatly appreciated!
when HTTP_REQUEST priority 450 {
switch -glob [string tolower [HTTP::host]] {
"www.integration.domain.com" {
switch -glob [string tolower [HTTP::uri]] {
"/blah1/blah2.aspx/" {
HTTP::respond 301 Location "https://www.integration.domain.com/newsite/site.aspx!/"
}