]> source.dussan.org Git - archiva.git/commit
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
authorJoakim Erdfelt <joakime@apache.org>
Wed, 24 Oct 2007 00:16:40 +0000 (00:16 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Wed, 24 Oct 2007 00:16:40 +0000 (00:16 +0000)
commite0d19c4d9744caa54342eeb079b7f67ff11526c7
tree9e3b1513a75476b15e2c1bded018faf7642e7a24
parent89079a268431bc8b8a9035449982cabe1e21f9ca
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
Using new methods in RepositoryRequest to identify native resource path early and using it.
Adding PolicingServletRequest to deal with bad formatted request paths.
Beefing up RepositoryServletTest to test proxy-less (for now) requests ...
* Browse
* Get Checksum (default layout)
* Get Checksum (legacy layout)
* Get Metadata (versioned + default layout)
* Get Metadata (project + default layout)
* Get Artifact (default layout)
Adding custom mime-types.txt to get proper "Content-Type" headers on GET requests.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587708 13f79535-47bb-0310-9956-ffa450edef68
archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/PolicingServletRequest.java [new file with mode: 0644]
archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java
archiva-web/archiva-webapp/src/main/resources/org/codehaus/plexus/webdav/util/mime-types.txt [new file with mode: 0644]
archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/RepositoryServletTest.java
archiva-web/archiva-webapp/src/test/resources/org/apache/maven/archiva/web/repository/RepositoryServletTest.xml
archiva-web/archiva-webapp/src/test/resources/repository-archiva.xml [new file with mode: 0644]