xerofun/owaspantisamy

Missmatch between ErrorMessageUtil constant and included propertybundles

Closed this issue · 2 comments

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

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

  • Changed state: Fixed
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

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

  • Changed state: Verified