andytanoko / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
0 stars 0 forks source link

Change ESAPI.properties properties to disallow empty filenames and directory names #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the ESAPI.properties file there were two regular expressions used to
check for valid filenames and directory names. Specifically the properties
Validator.FileName and Validator.DirectoryName both allowed 0 length (i.e.,
empty) file and directory names.

This is to change the suffix on the regular expressions for these two
properties from '{0,255}' to '{1,255}' so that 0 length file names and
directory names will no longer be accepted as valid.

Original issue reported on code.google.com by kevin.w.wall@gmail.com on 6 Nov 2009 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by kevin.w.wall@gmail.com on 7 Nov 2009 at 4:40