Forum Discussion
irule redirect when url has special characters
I have this redirect irule that works (partial code included below) and for the line that says chat.it.umn.edu { HTTP::redirect https://umnprd.service-now.com/nav_to.do?uri=chat/chat.do } this currently works but I need to change the redirect to :
chat.it.umn.edu { HTTP::redirect https://umnprd.service-now.com/nav_to.do?uri=/$chat_support.do%3FqueueID%3Df5290d0331f350005a4dccd0e0a649ca
This is valid url and I can use it successfully directly in a browser but when I try to redirect to it in my irule I always get : The connection was reset The connection to the server was reset while the page was loading.
Any thoughts - are any of the special characters messing things up ? I did try putting double quotes around the url but that did not help any.
when HTTP_REQUEST {
switch [HTTP::host] {
systemstatus.umn.edu -
www.systemstatus.umn.edu -
chat.it.umn.edu { HTTP::redirect https://umnprd.service-now.com/nav_to.do?uri=chat/chat.do }
walk-in.it.umn.edu { HTTP::redirect http://it.umn.edu/help/walk-in }
ggg.umn.edu -
ggg-sunset.umn.edu { HTTP::redirect http://drydock.cehd.umn.edu/ceed/projects /ggg/gggwebsitenotice.html }
storage.umn.edu -
dataprotection.umn.edu -
backup.it.umn.edu { HTTP::redirect http://it.umn.edu/services/all/storage-data-protection/index.htm }
eval.umn.edu { HTTP::redirect https://srt.umn.edu/blue }
splunk.umn.edu { HTTP::redirect https://sites.google.com/a/umn.edu/splunk-umn }
default { reject }
}
}
- Martin_RobbinsNimbostratus
Try putting brackets around the URL to stop TCL trying to evaluate the $ part of the URL
chat.it.umn.edu { HTTP::redirect {https://umnprd.service-now.com/nav_to.do?uri=/$chat_support.do%3FqueueID%3Df5290d0331f350005a4dccd0e0a649ca} }
Recent Discussions
Related Content
* 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