struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangzhenghang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4285) ParametersInterceptor's isWithinLengthLimit method does not detect the devMode's value
Date Fri, 07 Feb 2014 14:29:19 GMT

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

wangzhenghang commented on WW-4285:
-----------------------------------

This is the fixed log: https://git-wip-us.apache.org/repos/asf/struts/repo?p=struts.git;a=commitdiff;h=0feca5fd969be995a6acd65e7d4daf7375c7f6ad,
committed by 	Bruce Allen Phillips on 2013-12-28.


> ParametersInterceptor's isWithinLengthLimit method does not detect the devMode's value
> --------------------------------------------------------------------------------------
>
>                 Key: WW-4285
>                 URL: https://issues.apache.org/jira/browse/WW-4285
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.16
>            Reporter: wangzhenghang
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.17
>
>
> When the length of parameter name exceeds the paramNameMaxLength, notifyDeveloper method
is invoked directly and devMode's value is ignored.
> So, this error log is printed as follow:
> [com.opensymphony.xwork2.interceptor.ParametersInterceptor] [Developer Notification (set
struts.devMode to false to disable this message):
> Unexpected Exception caught setting '****' on 'class java.lang.String: 100]
>  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message