From ce79d61198f26284e3e7f14faab03e2ac6e4c508 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 21 May 2014 12:09:19 +1000 Subject: [PATCH] fix context when know repository --- .../org/apache/archiva/rest/services/AbstractRestService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java index b366e441a..104e0d212 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java @@ -264,6 +264,10 @@ public abstract class AbstractRestService } } + else + { + sb.append( '/' ).append( artifact.getContext() ); + } } -- 2.39.5