camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédérik ROULEAU (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8734) camel-netty-http - Should ignore case of context-path
Date Thu, 10 Sep 2015 15:29:46 GMT

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

Frédérik ROULEAU commented on CAMEL-8734:
-----------------------------------------

I totaly agree with Hans comment. From my point of view this is a regression.
For example for rest services, the path must be case sensitive. Otherwise this is a lost of
information. This will break many rest web services (starting by my application). 

> camel-netty-http - Should ignore case of context-path
> -----------------------------------------------------
>
>                 Key: CAMEL-8734
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8734
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-netty-http, camel-netty4-http
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.15.3, 2.16.0
>
>
> We should ignore case when matching context-path. We have some code that matches using
.startsWith. But that does not match with different case, such as Customer vs customer.
> People dont really want to expose HTTP services where the context path uses different
case. So if people type /customer or /Customer or /CUSTOMER then it should match the same.
> See nabble
> http://camel.465427.n5.nabble.com/How-to-create-case-insensitive-URI-route-with-netty4-http-tp5766517.html



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

Mime
View raw message