You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/04/16 18:01:59 UTC
[jira] [Updated] (CAMEL-8649) Camel RAW() cannot handle String of
%2050
[ https://issues.apache.org/jira/browse/CAMEL-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-8649:
--------------------------------
Description:
{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}
was:
{code}
file:inbox?fileName=data%2B.txt (expected "inbox/data+.txt", but actually it's "inbox/data .txt") - I think it's WRONG (double URL decode)
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}
> 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)