[
https://issues.apache.org/jira/browse/CAMEL-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268212#comment-13268212
]
Claus Ibsen commented on CAMEL-5241:
------------------------------------
If you enable TRACE logging then you may get the raw data. And at that level
the uris should NOT be changed.
Its only at INFO and possible DEBUG level that they should, as that is a level
ppl can run with in their environments.
> Sanitize URI in debug messages
> ------------------------------
>
> Key: CAMEL-5241
> URL: https://issues.apache.org/jira/browse/CAMEL-5241
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.9.2
> Reporter: João Loureiro
> Labels: security
> Fix For: 2.10.0
>
> Attachments: camel_patch.txt
>
>
> Sanitizes URI in debug messages that may otherwise reveal sensitive
> information.
> Design note:
> I opted to provide a specific method, URISupport.sanitizePath(String),
> instead of relaxing the match in URISupport.sanitizeUri(String). This is
> because formally an authority component in an URI is preceded by "//", which
> is not contained in the path part of the URI (see
> http://docs.oracle.com/javase/6/docs/api/java/net/URI.html).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira