Skip to content

StringIndexOutOfBoundsException in PathPattern.extractPathWithinPattern [SPR-15259] #19824

@spring-projects-issues

Description

@spring-projects-issues

Brian Clozel opened SPR-15259 and commented

The following code demonstrates the issue:

PathPatternParser ppp = new PathPatternParser();
PathPattern pp = ppp.parse("/**");
assertTrue(pp.matches("/"));
String s = pp.extractPathWithinPattern("/");
assertEquals("", s);

Affects: 5.0 M4

Referenced from: commits f98ea11

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions