Pavel Horal opened SPR-12782 and commented
When constructing URL for a foreign root context (i.e. /):
<spring:url value="/foo" context="/" />
the expected output is /foo.
However UrlTag incorrectly renders //foo, which is equivalent to incorrect URL http://foo.
This behavior is also inconsistent with the JSTL's <c:url> tag.
Affects: 4.1.5
Referenced from: commits 8b545f4