struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (WW-4169) Freemarker template expansion wrong if action includes slashes
Date Fri, 28 Mar 2014 20:53:15 GMT


ASF subversion and git services commented on WW-4169:

Commit 272feecfbd9bd69bf500af31541567f254dd0c6d in struts's branch refs/heads/develop from
[;h=272feec ]

WW-4169 Solves problem resolving path when action contains slashes

> Freemarker template expansion wrong if action includes slashes
> --------------------------------------------------------------
>                 Key: WW-4169
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions:
>            Reporter: Jasper Rosenberg
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: freemarker, result
>             Fix For: 2.3.17
>         Attachments:
> For relative freemarker template locations, FreemarkerResult uses the current URL to
figure out the path.  This is assumes that the action name doesn't include any "/" characters.
 If it does then part of the action name ends up in the template path.  Instead, it should
use the namespace directly to build the template path which removes any ambiguity.  Please
see the attached patch.

This message was sent by Atlassian JIRA

View raw message