From: Olivier Lamy Date: Wed, 21 May 2014 02:09:19 +0000 (+1000) Subject: fix context when know repository X-Git-Tag: archiva-2.1.0~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce79d61198f26284e3e7f14faab03e2ac6e4c508;p=archiva.git fix context when know repository --- 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() ); + } }