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

Camel RAW() cannot handle String of %2050

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.2, 2.15.1
    • 2.14.3, 2.15.2, 2.16.0
    • camel-core
    • None
    • Unknown

    Description

      file:inbox?fileName=data+.txt (expected "inbox/data .txt" and result is OK)
      file:inbox?fileName=data%20.txt (expected "inbox/data .txt" and result is OK)
      file:inbox?fileName=RAW(data+.txt) (expected "inbox/data+.txt" and result is OK)
      file:inbox?fileName=RAW(data%20.txt) (expected "inbox/data%20.txt", but actually it's "inbox/data .txt") - I think it's WRONG (disobeyed RAW)
      file:inbox?fileName=RAW(data%2520.txt) (expected "inbox/data%2520.txt", but actually it's also "inbox/data .txt") - I think it's WRONG (disobeyed RAW + double URL decode)
      Additional info:
      RAW(data%252520.txt) results in "data%20.txt" (disobeyed RAW + double URL decode - it means there is not triple URL decode in this case)
      RAW(data%2B.txt) results in "data+.txt" (disobeyed RAW + single URL decode - it means there is not double URL decode in this case)
      data%252B.txt results in "data%2B.txt" (single URL decode - it means there is not double URL decode in this case)
      

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              njiang Willem Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: