[
https://issues.apache.org/jira/browse/CXF-9066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko updated CXF-9066:
------------------------------
Affects Version/s: 3.6.4
3.5.9
> 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: 3.5.9, 4.0.5, 3.6.4
> Reporter: Daniel Holm
> Priority: Minor
> Labels: bug, logging
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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)