You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Erik Pilz (JIRA)" <ji...@apache.org> on 2006/04/28 00:54:19 UTC

[jira] Commented: (WW-1302) UrlHelper omits a forward slash when supplied a relative URL and the scheme changes

    [ 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org