[ http://issues.apache.org/struts/browse/WW-1302?page=all ]
Erik Pilz updated WW-1302: -------------------------- Attachment: UrlHelperTest.patch The original patch for UrlHelperTest was for WW-1301. Please use the updated file. Sorry about that. > UrlHelper omits a forward slash when supplied a relative URL and the scheme > changes > ----------------------------------------------------------------------------------- > > Key: WW-1302 > URL: http://issues.apache.org/struts/browse/WW-1302 > Project: Struts Action 2 > Type: Bug > Components: Views > Versions: WW 2.2.1, WW 2.2.2 > Environment: WinXP, Tomcat 5.5, J2SE 5.0 > Reporter: Erik Pilz > Attachments: UrlHelperTest.patch, UrlHelperTest.patch > > When building a URL and switching the scheme, a relative URL won't be > constructed correctly. The following example assumes the request is served > over HTTP. > Input: > <ww:url value="feature-matrix.pdf" scheme="https" /> > Expected Output: > https://www.example.com/mywebapp/feature-matrix.pdf" > Actual Output: > https://www.example.com/mywebappfeature-matrix.pdf" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]