Skip to content

Spring eats @PathVariable part after last dot [SPR-10026] #14660

@spring-projects-issues

Description

@spring-projects-issues

spr1ng.n1 opened SPR-10026 and commented

@RequestMapping(value = "/{var}", method = RequestMethod.GET)
public String show(@PathVariable String var, Model m) {
System.out.println(var);
}

for url: "/hello.anything" outputs "hello"
for url: "/hello.anything.else" outputs "hello.anything"


Affects: 3.1 GA

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions