goodcui / owaspantisamy

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

Missmatch between ErrorMessageUtil constant and included propertybundles #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There seems to be a missmatch between ErrorMessageUtil and the included
property-bundles. The bundles contains the key
"error.attribute.invalid.filtered" while ErrorMessageUtil have the constant:

public static final String ERROR_ATTRIBUTE_CAUSE_FILTER =
"error.attribute.invalid.filter";

Results in exception:

java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key error.attribute.invalid.filtere
    at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
    at java.util.ResourceBundle.getString(ResourceBundle.java:346)
    at
org.owasp.validator.html.util.ErrorMessageUtil.localize(ErrorMessageUtil.java:95
)
    at
org.owasp.validator.html.util.ErrorMessageUtil.getMessage(ErrorMessageUtil.java:
79)
    at
org.owasp.validator.html.scan.AntiSamyDOMScanner.addError(AntiSamyDOMScanner.jav
a:601)
    at
org.owasp.validator.html.scan.AntiSamyDOMScanner.recursiveValidateTag(AntiSamyDO
MScanner.java:492)
    at
org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(AntiSamyDOMScanner.java:13
4)
    at org.owasp.validator.html.AntiSamy.scan(AntiSamy.java:99)

Original issue reported on code.google.com by andreas....@gmail.com on 31 Oct 2008 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by arshan.d...@gmail.com on 19 Nov 2008 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by arshan.d...@gmail.com on 3 Aug 2009 at 2:43