[ 
https://issues.apache.org/jira/browse/CAMEL-10095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351116#comment-15351116
 ] 

Michal Nikodím commented on CAMEL-10095:
----------------------------------------

but if uri is "GET  /something" then result is "GET/something" and its wrong.

We have own Camel component with grammar <from uri="webapi:GET,POST,PUT    
/endpoint/something" /> 
Our clients using it, but if they write more froms, they use "tabs" for indent 
uris. If this indent have even number whitechars that broke our grammar.

> bug in "remove whitespace noise from uri"
> -----------------------------------------
>
>                 Key: CAMEL-10095
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10095
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint, camel-spring
>    Affects Versions: 2.17.1
>            Reporter: Michal Nikodím
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.16.4, 2.17.3, 2.18.0
>
>
> in:
> {noformat}org.apache.camel.spring.handler.CamelNamespaceHandler.doBeforeParse(Node){noformat}
> on row 107 is:
> {noformat}String changed = value.replaceAll("\\s{2,}", "");{noformat}
> but it removes all the white chars that are in an even number (2,4,6,8 etc)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to