Details
Description
This is very similar to CAMEL-12705, but in this case it affects url with dashes. Tested with current master.
url
netty4-http:http://a-b-c.hostname.tld:8080/anything
results in
netty4-http:http:a-b:8080/path
Unit test in attachment.
Maybe
AbstractCamelCatalog#SYNTAX_PATTERN should be changed to
([\w.-]+)
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"