[
http://jira.codehaus.org/browse/MRM-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated MRM-713:
-----------------------------
Fix Version/s: 1.0.2
> extensionPattern in FilenameParser is incorrect
> -----------------------------------------------
>
> Key: MRM-713
> URL: http://jira.codehaus.org/browse/MRM-713
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0.2
> Reporter: james ahlborn
> Priority: Minor
> Fix For: 1.0.2
>
>
> in FileNameParser.java:
> * extensionPattern is bogus. I assume that the '.' chars are supposed to
> be literal chars, should be:
> "([.]tar[.]gz$)|([.]tar[.]bz2$)|([.][a-z0-9]*$)"
> TestCase:
> public void testNoExtension()
> {
> FilenameParser parser = new FilenameParser("foo_bar");
> assertNull(parser.getExtension());
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira