spring-framework/framework-docs/modules/ROOT/partials/web
Brian Clozel 285182be27 Relax multiple segment matching constraints in PathPattern
Prior to this commit, gh-35213 allowed wildcard path elments at the
start of path patterns. This came with an additional constraint that
rejected such patterns if the pattern segment following the wildcard one
was not a literal:

* `/**/{name}` was rejected
* `/**/something/{name}` was accepted

The motivation here was to make the performance impact of wildard
patterns as small as possible at runtime.

This commit relaxes this constraint because `/**/*.js` patterns are very
popular in the security space for request matchers.

Closes gh-35686
2025-11-05 18:32:44 +01:00
..
forwarded-headers.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00
uri-patterns.adoc Relax multiple segment matching constraints in PathPattern 2025-11-05 18:32:44 +01:00
web-data-binding-model-design.adoc Fix typo in reference documentation 2024-11-12 10:04:06 +01:00
web-uris.adoc Update documentation for URI parsing types 2024-10-07 18:35:03 +01:00
websocket-intro.adoc Consistent line breaks in reference documentation 2025-07-10 19:33:34 +02:00