[ http://issues.apache.org/struts/browse/WW-1302?page=comments#action_37214 ]
Erik Pilz commented on WW-1302: ------------------------------- I should add that this problem affects WebWork 2.1.7 as well. > 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 > > 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]