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
            Priority: Minor


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