Forum Discussion

C_D_18583's avatar
C_D_18583
Icon for Nimbostratus rankNimbostratus
Nov 20, 2006

Replacing 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?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

 

 

Thanks in Advance!

18 Replies