struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Pyeron (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-5011) Tiles bug when parsing file:// URLs including # as part of the URL
Date Thu, 31 Jan 2019 06:53:00 GMT

    [ https://issues.apache.org/jira/browse/WW-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756931#comment-16756931
] 

Jason Pyeron commented on WW-5011:
----------------------------------

turns out the offending line is in the struts plug in

{code:title=StrutsApplicationResource.java}
    public StrutsApplicationResource(URL url) {
        super(url.getPath());
        this.url = url;
    }
{code}

the url.getPath() is everything between the file: and the # in this specific case.

> Tiles bug when parsing file:// URLs including # as part of the URL
> ------------------------------------------------------------------
>
>                 Key: WW-5011
>                 URL: https://issues.apache.org/jira/browse/WW-5011
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.5.17
>            Reporter: Jason Pyeron
>            Priority: Critical
>
> This prevents deployment of a tiles application to sub contexts on Tomcat or anywhere
else the exploded war files' paths have certain special characters.
> Tiles is in the Attic, it is no longer being maintained.
> The Tiles plugin can shadow the particular class file as a workaround.
> I will submit a patch. Please advise which branch the patch should be based on. I need
it for 2.5.17.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message