Forum Discussion
Andrew_Abplanal
Nimbostratus
Feb 28, 2007strip port information from URL on courtesy redirect
I have found that some versions of IIS add the server’s port information the URL on a courtesy redirect.
Currently I am stripping the port information using this iRule…..
i...
JRahm
Admin
Feb 28, 2007ah, good catch. So would indexing the first two values be more or less expensive in cycles than regsub?
set myLocation [split [HTTP::header value Location] ":"]
HTTP::header replace Location [lindex $myLocation 0]:[lindex $myLocation 1]/
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