RedirectResoluton preprends an extra slash when the servlet context is the
default context
------------------------------------------------------------------------------------------
Key: STS-272
URL: http://mc4j.org/jira/browse/STS-272
Project: Stripes
Issue Type: Bug
Components: ActionBean Dispatching
Affects Versions: Release 1.4
Reporter: Tim Fennell
Assigned To: Tim Fennell
Priority: Minor
Fix For: Release 1.4.1
I think I've figured out what's causing this. It looks like a (minor) bug in
RedirectResolution. The offending code is:
if (this.prependContext) {
url = request.getContextPath() + url;
}
If the context is the default context (i.e. context path of /) then this will
end up prepending an extraneous slash to the URL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development