Skip to content

PathContainer-based implementation of extractPathWithinPattern [SPR-16120] #20668

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-16120 and commented

The extractPathWithinPattern in PathPattern takes PathContainer as input and output but internally it still delegates to an AntPathMatcher based implementation that takes String as input and returns the same as output.

This is largely an internal affair to make it more consistent and efficient as the rest of PathPattern but another important reason is to fix the behavior with regards to trimming and stripping trailing slashes to be consistent with the rest of PathPattern.


Affects: 5.0.1

Referenced from: commits 508aea8

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions