-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
Titi Wangsa opened SPR-12432 and commented
The application manages to get the resources for webjar when using spring 4.1.0.
4.1.1 also works.
when i use 4.1.2, I get 404 errors
that is the only thing I changed.
example url:
http://localhost:8080/app1/webjars/jquery/2.1.1/jquery.min.js
works with spring 4.1.0
works with spring 4.1.1
does not work with 4.1.2 - giving 404 error
when i traced it, it lead to
org.springframework.web.servlet.resource.PathResourceResolver
the method "isResourceUnderLocation"
constantly returns false
this method is called by "checkResource", and this is new since 4.1.2.
Affects: 3.2.12, 4.0.8, 4.1.2
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug