Skip to content

Automatically register a fixed path pattern when using a FixedStrategy with VersionResourceResolver [SPR-13883] #18456

@spring-projects-issues

Description

@spring-projects-issues

Brian Clozel opened SPR-13883 and commented

This has been raised originally as a spring-boot issue.

When registering a VersionResourceResolver with a FixedVersionStrategy, the given fixed version is not automatically registered as a path pattern. This should be done automatically at configuration time, otherwise we can't serve requests that match the configured version, like "/fixedversion/something.js" - which defeats the original purpose...


Affects: 4.2.4

Reference URL: spring-projects/spring-boot#4865

Referenced from: commits bcebc9d, 84fe46c

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