Forum Discussion
C_D_18583
Nimbostratus
Nov 20, 2006Replacing in the URI ; http -> https and port 80 -> 443
What is the easiest way to rewrite the following string? Replacing in the URI http -> https and port 80 -> 443
Before:
https://testlab-d.tdx.dorion.com/amserver/UI/Login?go...
C_D_18583
Nimbostratus
Nov 21, 2006schwiddy
I need to be able to replace the http -> https and port 80 -> 443 which is in the URI .( See Example Below ) I also may need to replace the Language from say EN ( english) to FR (French) . I am looking for an elegant way to make relacements in the URI.
Thanks
Before:
https://testlab-d.tdx.dorion.com/amserver/UI/Login?goto=http%3A%2F%2Ftestlab-d.tdx.dorion.com%3A80%2Fperform%2FLogin.do%3FLANGUAGE%3DEN
After:
https://testlab-d.tdx.dorion.com/amserver/UI/Login?goto=https%3A%2F%2Ftestlab-d.tdx.dorion.com%3A443%2Fperform%2FLogin.do%3FLANGUAGE%3DEN
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