Daniel Holm created CXF-9066:
--------------------------------

             Summary: MaskSensitiveHelper does not mask multi-line content
                 Key: CXF-9066
                 URL: https://issues.apache.org/jira/browse/CXF-9066
             Project: CXF
          Issue Type: Bug
          Components: logging
    Affects Versions: 4.0.5
            Reporter: Daniel Holm


MaskSensitiveHelper does not recognise the sensitive element name(s) if they 
contain multi-line content.


This f.ex does not match the password element, and the data is left unmasked in 
the logs:
{code:java}
maskSensitiveHelper.addSensitiveElementNames(Set.of("password")) {code}
{code:java}
<user>testUser</user><password>my 
secret 
password</password> {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to