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 Sun, 03 Mar 2019 12:17:00 GMT

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

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

[~yasser.zamani] the proposed workaround
{code:xml}
<context-param>
   <param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
   <param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
{code}

does not fix (as in root cause fix) the issue. The issue is with using the default URL parsing
logic where # has special meaning - different than the application server has.


> 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
>             Fix For: 2.5.21, 2.6
>
>
> 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