SP-AU
Apr 14, 2016Nimbostratus
URL encode iRule question
Hi all, I am trying to write iRule for to use URI::encode.
This is my request
- HTTP Request > https://link.test.net/wstaion?name1=123xyz&rurl=rtrdce%rrere%fgfgf
- Need to read the URL, if wstaion in the URL
-
generate url > https://link.test.net/loader.html?name1=123xyz&rurl=rtrdce%rrere%fgfgf >> set val final
-
rewrite to https://singon.test.net?sip=testred&furl=[URI::encode {$final}]
Note: name1= dynamic value; rurl = dynamic value
Thanks SP