You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2014/09/20 07:46:33 UTC
[jira] [Commented] (OFBIZ-5769) web.xml: empty allowPaths init
param causes NPE
[ https://issues.apache.org/jira/browse/OFBIZ-5769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141773#comment-14141773 ]
Deepak Dixit commented on OFBIZ-5769:
-------------------------------------
Verified issues, attached patch working fine and fixed the NPE.
> web.xml: empty allowPaths init param causes NPE
> -----------------------------------------------
>
> Key: OFBIZ-5769
> URL: https://issues.apache.org/jira/browse/OFBIZ-5769
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Wai
> Attachments: OFBIZ-5769.patch
>
>
> In web.xml, when 'allowPaths' init param is empty, a null pointer exception results.
> Solution:
> When web.xml/allowPaths is empty, it should mean disable the allowPaths check altogether.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)