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

Sanitize URI in debug messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.2
    • 2.9.3, 2.10.0
    • camel-core
    • Patch Available
    • Unknown

    Description

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

      Attachments

        1. patch_notrace.txt
          5 kB
          João Loureiro

        Activity

          People

            davsclaus Claus Ibsen
            jloureiro João Loureiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: