aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-05-21 12:09:19 +1000
committerOlivier Lamy <olamy@apache.org>2014-05-21 12:09:19 +1000
commitce79d61198f26284e3e7f14faab03e2ac6e4c508 (patch)
treeac2b41985174004680d00a6a30e0674ea56527a2 /archiva-modules
parent89ec8af055cde53187ae1ebfd945d903f8e69b47 (diff)
downloadarchiva-ce79d61198f26284e3e7f14faab03e2ac6e4c508.tar.gz
archiva-ce79d61198f26284e3e7f14faab03e2ac6e4c508.zip
fix context when know repository
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java4
1 files changed, 4 insertions, 0 deletions
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() );
+ }
}