You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/05/15 00:32:07 UTC
[GH] (grails-core/7.1.x-url-mapping-specificity): Workflow run "CodeQL" failed!
The GitHub Actions job "CodeQL" on grails-core.git/7.1.x-url-mapping-specificity has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).
Head commit for run:
0e326c0cb6739fc8d72b06adaaf228a3e490b6db / Scott Murphy Heiberg <sc...@alwaysvip.com>
fix: exclude bare ** and * tokens from literal-segment count
The /** catch-all pattern tokenizes to a single bare ** token (not (**))
because configureUrlPattern only rewrites (*)**. That made literalTokenCount
count ** as a literal, ranking /** above /$controller/$action?/$id? and
breaking DoubleWildcardUrlMappingTests.testDoubleWildcardWithMatchingController.
Switch the predicate to !t.contains('*'), which correctly treats any token
holding a wildcard char as non-literal.
Report URL: https://github.com/apache/grails-core/actions/runs/25893455139
With regards,
GitHub Actions via GitBox