camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Loureiro (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5241) Sanitize URI in debug messages
Date Fri, 04 May 2012 23:13:48 GMT

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

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

    Attachment: patch_notrace.txt

Patch update - leaves TRACE messages unchanged.
                
> 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: patch_notrace.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

       

Mime
View raw message