Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4600

Improve URISupport.sanitizeUri and apply it in additional places

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • camel-core
    • None
    • Patch Available
    • Unknown

    Description

      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 additional sensitive places (in much the same way as DefaultEndpoint.toString()).
      Proposed patch attached.

      Attachments

        1. CAMEL-4600.diff
          6 kB
          João Loureiro

        Activity

          People

            njiang Willem Jiang
            jloureiro João Loureiro
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: