search cancel

Using "url.query:decode_base64" CPL substitution causing garbled text in custom exception page or notify page


Article ID: 171892


Updated On:


Advanced Secure Gateway Software - ASG ProxySG Software - SGOS


You would like to use the "url.query:decode_base64" in exception pages or notify pages but found that when the page is displayed out, it adds extra garbled messages in the page.


After SGOS and later, this happens because there is an anti-phishing feature that was added causing the extra garbled text to display out.

Versions before SGOS doesn't see this issue because the anti-phishing feature was not added yet.


Use a new substitution variable CPL as per below :

$(url.query:rewrite((.*);(.*), $(1)):decode_base64)

With this new variable the extra garbled text would be gone.