[ http://issues.apache.org/jira/browse/TAPESTRY-1061?page=all ]

Jesse Kuhnert resolved TAPESTRY-1061.
-------------------------------------

    Fix Version/s: 4.1.1
       Resolution: Fixed

Patch applied, thanks! =)

> AssetService doesn't translate paths relative to CSS file.
> ----------------------------------------------------------
>
>                 Key: TAPESTRY-1061
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1061
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.1
>            Reporter: Ben Sommerville
>         Assigned To: Jesse Kuhnert
>            Priority: Minor
>             Fix For: 4.1.1
>
>         Attachments: TAP-1061.patch
>
>
> The AssertService.translatePath method doesn't deal properly with paths like
>     "/dojo/src/widget/template/HtmlComboBox.css../images/foo.gif"
> The first ".." relative to the CSS file is not removed & so the asset is not 
> found if it is in a jar.
> Currently the result is 
>     "/dojo/src/widget/template/../images/foo.gif"
> When it should be
>     "/dojo/src/widget/images/foo.gif"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/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]

Reply via email to