[
https://issues.apache.org/jira/browse/CAMEL-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8649.
--------------------------------
Resolution: Fixed
> Camel RAW() cannot handle String of %2050
> ------------------------------------------
>
> Key: CAMEL-8649
> URL: https://issues.apache.org/jira/browse/CAMEL-8649
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.2, 2.15.1
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.14.3, 2.15.2, 2.16.0
>
>
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)