LocaleFirstMapper does not strip Locale from url in getCompatibilityScore()
---------------------------------------------------------------------------

                 Key: WICKET-4055
                 URL: https://issues.apache.org/jira/browse/WICKET-4055
             Project: Wicket
          Issue Type: Bug
          Components: wicket-examples
    Affects Versions: 1.5.0
            Reporter: Sebastian Gooren
            Priority: Minor


LocaleFirstMapper delegates the call to getCompatibilityScore() to the chained 
IRequestMapper without stripping the locale from the url.
Since most request mappers generate a compatibility score by counting the 
number of matching segments _from the start of the url_, they will mostly 
return a score of 0.
Practically this means that all request mappers behind the LocaleFirstMapper 
stop responding to urls.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to