dqw / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

regexp name="positiveNumber" is incorrect (but is also unused) (antisamy.xml) #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Looking at antisamy.xml, SVN revision 137:

The regex for positiveNumber looks like it would allow negative numbers.
<regexp name="positiveNumber" value="(-|\+)?([0-9]+(.[0-9]+)?)"/>

Fortunately, the regex doesn't appear to be referenced anywhere else in the
file, so it can probably be deleted.

Original issue reported on code.google.com by danr...@gmail.com on 23 Dec 2009 at 8:09

GoogleCodeExporter commented 8 years ago
Fixed in r139. Thanks!

Original comment by arshan.d...@gmail.com on 8 Mar 2010 at 6:15