[ 
https://issues.apache.org/jira/browse/CAMEL-13524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen reassigned CAMEL-13524:
-----------------------------------

    Assignee: Claus Ibsen

> RuntimeCamelCatalog#asEndpointUri strips dash from url with toD and 
> netty4-http
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-13524
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13524
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 2.23.0, 3.0.0-M2
>            Reporter: Jan Bednar
>            Assignee: Claus Ibsen
>            Priority: Major
>         Attachments: 
> RuntimeCamelCatalog#asEndpointUri_strips_dash_from_url_with_netty4-http.patch
>
>
> [https://stackoverflow.com/questions/56136857/how-to-use-camel-tod-and-netty4-http-component-problem-with-optimization-of-din]
> This is very similar to CAMEL-12705, but in this case it affects url with 
> dashes. Tested with current master.
> *{{url}}*
> {code:java}
> netty4-http:http://a-b-c.hostname.tld:8080/anything{code}
> *results in* 
> {code:java}
> netty4-http:http:a-b:8080/path{code}
> Unit test in attachment.
>  
> -Maybe-
> -_AbstractCamelCatalog#SYNTAX_PATTERN_ should be changed to- 
> {code:java}
> ([\w.-]+)
> {code}
> -Or is there reason, why is dash excluded from regexp?-
> I have tried to edit regexp and it broke test too, it results in resolved = 
> "netty4-http:http:a-b-c.hostname.tld-8080"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to