Lorenzo Bernacchioni created WW-4378:
----------------------------------------
Summary: ParametersInterceptor: param names exceedin
paramNameMaxLength generates wrong message
Key: WW-4378
URL: https://issues.apache.org/jira/browse/WW-4378
Project: Struts 2
Issue Type: Bug
Components: Core Interceptors
Affects Versions: 2.3.16.3
Reporter: Lorenzo Bernacchioni
Priority: Minor
When ParametersInterceptor receives a param with a name exceeding
paramNameMaxLength (default 100 chars) it logs
| Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting
'aHR0cDovL3d3dy5qb2Jpc2pvYi5kZS9tJUMzJUJDbmNoZW4vd2Vya3N0dWRlbnQtd2lydHNjaGFmdHNpbmdlbmlldXJ3ZXNlbi9qb2Jz'
on 'class java.lang.String: 100
while looking at the code it should log
|Parameter [] is too long, allowed length is []
That's because there are two signatures of notifyDeveloper(), one hiding the
other.
I think it should be logged also in devMode
--
This message was sent by Atlassian JIRA
(v6.2#6252)