Re: Characters allowed in map keys in parameters

2015-09-15 Thread Christoph Nenning
> That being said, I think we should try change this pattern to allow > params like this "map['my key']" This would really make my day :) > From: Lukasz Lenart > To: Struts Users Mailing List , > Date: 15.09.2015 08:54 > Subject: Re: Characters allow

Re: Characters allowed in map keys in parameters

2015-09-14 Thread Lukasz Lenart
2015-09-14 21:53 GMT+02:00 Steven Willis : > I've been having issues with map keys in struts and I finally tracked it down > to the pattern here: > > > https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/security/DefaultAcceptedPatternsChecker.java#L19 > >

Characters allowed in map keys in parameters

2015-09-14 Thread Steven Willis
I've been having issues with map keys in struts and I finally tracked it down to the pattern here: https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/security/DefaultAcceptedPatternsChecker.java#L19 Which is: "\\w+((\\.\\w+)|(\\[\\d+\\])|(\\(\\d+\