Skip to content

RequestPredicate fails with WebFlux 6.1.2 #31955

@kitkars

Description

@kitkars

RequestPredicates is broken in Spring WebFlux.

@Bean public RouterFunction<ServerResponse> myRouter() { return RouterFunctions.route() .path("route", this::routerFunction) .build(); } private RouterFunction<ServerResponse> routerFunction() { return RouterFunctions.route() .GET("path/{input}", RequestPredicates.path("*/1?")), this::myHandler) .build(); }

Sending a request to route/path/15 fails with 404.

Same config works just fine with Spring Boot 3.2.0.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions