Skip to content

Configure ResourceUrlProvider in WebFlux and resource chain infrastructure [SPR-17433] #21966

Closed
@spring-projects-issues

Description

@spring-projects-issues

Brian Clozel opened SPR-17433 and commented

Unlike what the reference documentation states, the default Spring WebFlux configuration does not provide a ResourceUrlProvider bean.

Also, the AppCacheManifestTransformer and CssLinkResourceTransformer both need a reference to the ResourceUrlProvider when dealing with absolute links. This needs to be configured during the resource chain setup as the ResourceUrlProvider needs to be aware of the application context.


Affects: 5.0.10, 5.1.1

Referenced from: commits fc957e9, 8de86b7, 2d14bd7, 0e8ed59

Backported to: 5.0.11

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions