xerofun/owaspantisamy

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

GoogleCodeExporter opened this issue · 1 comments

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

Fixed in r139. Thanks!

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

  • Changed state: Verified
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium