hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-47) HttpRequestHandlerRegistry results are ambiguous
Date Tue, 20 Feb 2007 21:51:06 GMT

    [ 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


Mime
View raw message