Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17433

Configure ResourceUrlProvider in WebFlux and resource chain infrastructure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0.10, 5.1.1
    • Fix Version/s: 5.0.11, 5.1.2
    • Component/s: Reactive, Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            bclozel Brian Clozel
            Reporter:
            bclozel Brian Clozel
            Last updater:
            Spring Issuemaster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 37 weeks ago