Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-29 Thread John Bush
Yes I've had to use misc concats, weird escaping, even making sure the string portion of the name was first to make sure it didn't treat it mathematically and to keep the taglibs from interfering with my names. Mixing front end frameworks leads to weird results sometimes also since they resolve

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-29 Thread Ing. Andrea Vettori
> On 29 Jan 2020, at 01:48, John Bush wrote: > > I've had problems in some frameworks confusing the parser using operators > this way. Since java maps allow any object as the key, such as Number or it's > sub-classes, you get into issues where the page tech (jsp,js,various > taglibs,et al) m

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-28 Thread John Bush
I've had problems in some frameworks confusing the parser using operators this way. Since java maps allow any object as the key, such as Number or it's sub-classes, you get into issues where the page tech (jsp,js,various taglibs,et al) makes Map[key-1] into Map[1-1] then into Map[0]. I basicall

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-28 Thread Lukasz Lenart
pon., 27 sty 2020 o 16:59 Ing. Andrea Vettori napisał(a): > > > On 26 Jan 2020, at 12:26, Lukasz Lenart wrote: > > > > > > So maybe relaxing the patterns is a good idea but as till now nobody > > reported any problems with them, we decided to left them as is. > > > Thank you for the clarification

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-27 Thread Ing. Andrea Vettori
> On 26 Jan 2020, at 12:26, Lukasz Lenart wrote: > > > So maybe relaxing the patterns is a good idea but as till now nobody > reported any problems with them, we decided to left them as is. Thank you for the clarification. If you’re going to discuss again this choice in the future, I think th

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-26 Thread Lukasz Lenart
niedz., 26 sty 2020 o 12:08 Ing. Andrea Vettori napisał(a): > > Thanks for you answer. I’ll try to look into the struts sources but I’m not > sure to have understand your answer. > What I’m trying to understand is why when we use an input like > > > > and we use an action with a > > Map map > >

Re: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-26 Thread Ing. Andrea Vettori
hink > you don't want to use complex strings as keys; for instance conceive > `myKey-1` as key that will be translated to myMap.myKey-1 which likely won't > work properly. > > Regards. > >> -Original Message- >> From: Ing. Andrea Vettori >&

RE: Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-25 Thread Yasser Zamani
Message- >From: Ing. Andrea Vettori >Sent: Wednesday, January 15, 2020 1:54 PM >To: dev@struts.apache.org >Subject: Standard Accepted Patterns in DefaultAcceptedPatternsChecker > >Hello, >Today I had an issue with one of our web sites using struts and found it trac

Standard Accepted Patterns in DefaultAcceptedPatternsChecker

2020-01-15 Thread Ing. Andrea Vettori
Hello, Today I had an issue with one of our web sites using struts and found it traces back to the default accepted patterns in DefaultAcceptedPatternsChecker. May I ask why the key values for “map like” parameters (i.e. map[‘key’]) are limited in such a strict way ? In our case I had a minus sig