Configure ResourceUrlProvider in WebFlux and resource chain infrastructure [SPR-17433] #21966
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
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
andCssLinkResourceTransformer
both need a reference to theResourceUrlProvider
when dealing with absolute links. This needs to be configured during the resource chain setup as theResourceUrlProvider
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
The text was updated successfully, but these errors were encountered: