You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2021/01/02 17:46:00 UTC

[jira] [Resolved] (WW-4945) TagUtils#buildNamespace should throw an exception when invocation is null

     [ https://issues.apache.org/jira/browse/WW-4945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-4945.
-------------------------------
    Resolution: Fixed

> TagUtils#buildNamespace should throw an exception when invocation is null
> -------------------------------------------------------------------------
>
>                 Key: WW-4945
>                 URL: https://issues.apache.org/jira/browse/WW-4945
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Tags
>            Reporter: Lukasz Lenart
>            Priority: Major
>             Fix For: 2.6
>
>
> Right now {{TagUtils#buildNamespace}} will try to determine a namespace using {{Request}} in case where there is no action invocation available. This means a tag was used out of the action flow and JSP was exposed directly. This is against our recommendation and exception should be thrown instead.
> http://struts.apache.org/security/#never-expose-jsp-files-directly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)