Tech Tip : CA Single Sign-On : BadCSSChars ACO parameter is not working when parameter value contains a single quote character (')

Document created by Albert_Fernandez Employee on Jun 23, 2017
Version 1Show Document
  • View in full screen mode

Issue:

We have noticed a Web Agent was not properly applying the BadCSSChars ACO parameter to override the default character set for CSS files, and we weren't seeing any error or warning in the logs. After checking the current ACO settings, we noticed we have introduced a single quote character by mistake:

 

badcsschars='<,>,%22

 

Why is this happening? How could we add a single quote if we need it?

Environment:

Web Agent R12.52 SP1 CR02

Cause:

By default, the BadCSSChar ACO parameter supports <,>,' set of characters, and this parameter does not interpret the single quotation mark (') if it is entered as an ASCII character.

Resolution:

To include the single quotation mark as a bad cross-site scripting character, enter the hexadecimal equivalent of the ASCII character, which is %27.

Additional Information:

 

 

KD: TEC1958813

Attachments

    Outcomes