spring-framework/spring-webmvc/src
Brian Clozel c226753985 Do not rewrite relative links with FixedVersionStrategy
Prior to this change, the resource handling FixedVersionStrategy would
be applied on all links that match the configured pattern. This is
problematic for relative links and can lead to rewritten links such as
"/fixedversion/../css/main.css" which breaks.

This commit prevents that Strategy from being applied to such links.
Of course, one should avoid to use that VersionStrategy with relative
links, but this change aims at not breaking existing links even if it
means not prefixing the version as expected.

Issue: SPR-13727
2015-12-01 14:47:23 +01:00
..
main Do not rewrite relative links with FixedVersionStrategy 2015-12-01 14:47:23 +01:00
test Do not rewrite relative links with FixedVersionStrategy 2015-12-01 14:47:23 +01:00