[ 
https://issues.apache.org/jira/browse/HTTPCORE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474579
 ] 

Oleg Kalnichevski commented on HTTPCORE-47:
-------------------------------------------

Roland,

With all due respect I do not think this is a legitimate issue. Pattern 
matching based on wildcards is inherently ambiguous. The algorithm used by 
HttpRequestHandlerRegistry is also used by Spring framework, for instance. If 
it is good enough for Spring, I do not see why it should not be good enough for 
HttpCore

Oleg

> HttpRequestHandlerRegistry results are ambiguous
> ------------------------------------------------
>
>                 Key: HTTPCORE-47
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-47
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore
>            Reporter: Roland Weber
>            Priority: Minor
>
> HttpRequestHandlerRegistry uses pattern matching to determine the handler to 
> use.
> The best match comparison is exclusively based on pattern length and 
> therefore ambiguos:
> patterns "/ma*" and "*tch" both match "/match".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to