yasserzamani commented on pull request #469:
URL: https://github.com/apache/struts/pull/469#issuecomment-825549392


   I think your DMI isn't enabled at all because I see that 
DefaultAcceptedPatternsChecker setAcceptedPatterns(DMI_AWARE_ACCEPTED_PATTERNS) 
when DMI is enabled but in same time I see that in this PR description, the 
logged accepted pattern isn't DMI_AWARE_ACCEPTED_PATTERNS. It is 
ACCEPTED_PATTERNS which starts with \w+((\., provided 
DMI_AWARE_ACCEPTED_PATTERNS starts with \w+([:].
   
   Otherwise (if it's enabled really) it should work as per tested 
[testDmiIsEnabled](https://github.com/apache/struts/blob/09f969a9bebe31370df64702a61420f14ead6271/core/src/test/java/com/opensymphony/xwork2/security/DefaultAcceptedPatternsCheckerTest.java#L205).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to