SIGN IN SIGN UP

Resolve URL path for versioned webjar directories

Prior to this commit, the `resolveUrlPath` implementation for the
`LiteWebJarsResourceResolver` would always delegate to the resource
chain once the versioned webjar folder has been resolved.

While this aligns with the `ResourceResolver` contract and the fact that
the resource chain does not resolve directories, here the WebJar locator
does support such use cases and we shouldn't get in the way here.

This commit falls back to the resolved versioned WebJar path if no
resource could be resolved and the path ends with "/".

Fixes gh-36726
B
Brian Clozel committed
3a91d90c28ec2012cbda2f7fa39910a1ea4cc31f
Parent: 08c5280
Committed by rstoyanchev <rossen.stoyanchev@broadcom.com> on 5/1/2026, 8:47:06 PM