Improve URISupport.sanitizeUri and apply it in more sensitive places
--------------------------------------------------------------------

                 Key: CAMEL-4600
                 URL: https://issues.apache.org/jira/browse/CAMEL-4600
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.8.2
            Reporter: João Loureiro
             Fix For: 2.9.0


In this issue, I propose that URISupport.sanitizeUri method sanitizes the 
password token in URIs that contain it (i.e., URIs in the form 
scheme://user:password@host). JT400 component URIs directly benefit from this 
improvement.
Additionally, I suggest that this method be invoked in more sensitive places 
(in much the same way as DefaultEndpoint.toString()).
Proposed patch attached.

--
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