Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-2.0.2
-
None
Description
If findEntries() is called without wildcards in <filePattern> and the bundle contains more than one resource ending with <filePattern> then URLs for all those resources are returned instead of the one exact match.
E.g. if the bundle contains the files:
- WEB-INF/web.xml
- WEB-INF/1-web.xml
then findEntries("WEB-INF", "web.xml", false) will return 2 URLs instead of 1.