[ 
https://issues.apache.org/jira/browse/CAMEL-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

João Loureiro updated CAMEL-5241:
---------------------------------

    Attachment: camel_patch.txt
    
> 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


Reply via email to