on 2014 May 08 8:11 AM
Hi All,
we have to customize the login page in Portal 7.3 The Jsp files encoded the error message using
"EncodeHtmlTag.encode(logonMessage.print(error.getMessage()))". But the error messages is not getting encoded. since the method encode is deprecated. May i know what is the alternative to encode the error messages.Please help me.
Regards,
Malar
Request clarification before answering.
Hi Malar,
You can see the following for updated encoding methods:
SAP Encoding Functions for AS Java and JavaScript - Secure Programming - SAP Library
You can use:
XSSEncoder.encodeHTML method for encoding HTML.
Best Regards,
Tal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.