]> source.dussan.org Git - archiva.git/commit
[MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
authorJoakim Erdfelt <joakime@apache.org>
Fri, 26 Oct 2007 18:16:43 +0000 (18:16 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Fri, 26 Oct 2007 18:16:43 +0000 (18:16 +0000)
commit76aabf37a092d4a5ec008ca7064565460ee0f493
tree6ff46f7e55e6d7f02cf3e8a5e131622749aa1289
parenta7bf8292c3a3b1951bd07fa9337fbb3394426f5e
[MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
Fixed parsing of filenames to look for "." or "-" after the version to help determine if this artifact has a classifier or just a double-extension.
Added unit tests to repository.content.* classes for double extension.
Added unit test to RepositoryServlet for GET of artifact with double extension.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588732 13f79535-47bb-0310-9956-ffa450edef68
archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/ArtifactExtensionMapping.java
archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/DefaultPathParser.java
archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/FilenameParser.java
archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/content/DefaultPathParserTest.java
archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/content/FilenameParserTest.java
archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/content/LegacyPathParserTest.java
archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/content/RepositoryRequestTest.java
archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/RepositoryServletNoProxyTest.java