Version: Spring Boot 3.1.2

@GetMapping("/projects/{project}/repositories/{repository}/artifacts")
    public String getArtifacts(
            @PathVariable("project") String project,
            @PathVariable("repository") String repository
    ){
        return service.getArtifacts(project,repository);
    }

// GET /projects/xxx/repositories/sonatype%2Fnexus3/artifacts   unreachable and return Bad Request 400

Just like this issue : https://github.com/spring-projects/spring-boot/issues/1583 Setting system property does not work,because Tomcat 10.x does not provide. Please advise if there is way this could be handled.

Comment From: mhalbritter

Hello,

org.apache.tomcat.util.buf. UDecoder.ALLOW_ENCODED_SLASH has been removed in Tomcat 10.

The encoded slash handling can be configured with this connector customizer:

@Bean
TomcatConnectorCustomizer connectorCustomizer() {
  return (connector) -> connector.setEncodedSolidusHandling(EncodedSolidusHandling.DECODE.getValue());
}

It feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.