Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UrlTag mishandles foreign root context URIs [SPR-12782] #17380

spring-issuemaster opened this issue Mar 4, 2015 · 1 comment


None yet
2 participants
Copy link

commented Mar 4, 2015

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


This comment has been minimized.

Copy link
Collaborator Author

commented May 6, 2015

Brian Clozel commented

Thanks for reporting this issue!
This will be available as a SNAPSHOT in 20+ minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.