URI parameters for MS login

I am new to irule writing.

I have this url from server who is redirecting to login.microsoft.com with this url:

where there is param “redirect_uri=http%”

I must change this http to https, pls help me with right irule pls :slight_smile: