struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts 2.5.6
Date Wed, 16 Nov 2016 09:09:50 GMT
Hmm... maybe instead of using this switch, just log those messages in
DEBUG only...

2016-11-15 10:33 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
> ParametersInterceptor ignores dmi??
>
> protected boolean isAccepted(String paramName) {
>         AcceptedPatternsChecker.IsAccepted result =
> acceptedPatterns.isAccepted(paramName);
>         if (result.isAccepted()) {
>             return true;
>         }
>         notifyDeveloper("Parameter [{}] didn't match accepted pattern
> [{}]!", paramName, result.getAcceptedPattern());
>         return false;
>     }
>
> private void notifyDeveloper(String message, String... parameters) {
>         if (devMode) {
>             LOG.warn(message, parameters);
>         } else {
>             LOG.debug(message, parameters);
>         }
>     }
>
> On 15 November 2016 at 09:21, Lukasz Lenart <lukaszlenart@apache.org> wrote:
>
>> but do you use DMI? I meant, did you enable DMI?
>>
>> 2016-11-14 12:43 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
>> > I do not know if its the snapshot version I now get lots of these in my
>> > logs again
>> >
>> > 2016-11-14 11:39:45,621 WARN
>> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>> > ParametersInterceptor:notifyDeveloper - Parameter [action:myaction!save]
>> > didn't match accepted pattern [[\w+((\.\w+)|(\[\d+\])|(\(\d+
>> > \))|(\['(\w|[\u4e00-\u9fa5])+'\])|(\('(\w|[\u4e00-\u9fa5])+'\)))*]]!
>> >
>> > Sure this was fixed on https://issues.apache.org/jira/browse/WW-4697
>> >
>> > On 12 November 2016 at 16:52, Lukasz Lenart <lukaszlenart@apache.org>
>> wrote:
>> >
>> >> Hi,
>> >>
>> >> I think we are good to go, 13 issues were resolved. Do you have
>> >> anything else to be resolved beforehand?
>> >> https://issues.apache.org/jira/issues/?jql=project%20%
>> >> 3D%20WW%20AND%20fixVersion%20%3D%202.5.6
>> >>
>> >>
>> >> Regards
>> >> --
>> >> Łukasz
>> >> + 48 606 323 122 http://www.lenart.org.pl/
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: dev-help@struts.apache.org
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>



-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message