struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: Struts 2.5.6
Date Tue, 15 Nov 2016 09:33:25 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message