Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
Patch
Description
1.0-beta-4 introduces a regression in maven1 request handling :
simply try to get :
http://localhost:8080/archiva/repository/internal/servletapi/jars/servletapi-2.4.jar
two causes :
1. as fetchContentFromProxies MAY change the request pathInfo when relocation occurs, it MUST be called before resource file is build based on request.getLogicalResource().
2. getLogicalResource() is used to get the resource path. The value returned is not affected when the request PathInfo has been changed.
point 2 may require some changes in plexus DavServerRequest : compute the logical resource on-demand, or add a new public method to set it.