You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/02/20 22:51:06 UTC
[jira] Commented: (HTTPCORE-47) HttpRequestHandlerRegistry results
are ambiguous
[ 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org