Affects: 6.0.12


The current documentation on Spring Web MVC pattern comparison says:

Both help to sort patterns with more specific ones on top. A pattern is less specific if it has a lower count of URI variables (counted as 1), single wildcards (counted as 1), and double wildcards (counted as 2). Given an equal score, the longer pattern is chosen. Given the same score and length, the pattern with more URI variables than wildcards is chosen.

I would consider a pattern more specific (and therefore winning) if it has a lower count of URI variables etc.

Comment From: bclozel

Thanks for the heads up @mrnst , this typo has been fixed.