diff options
author | Olivier Lamy <olamy@apache.org> | 2014-05-21 12:09:19 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-05-21 12:09:19 +1000 |
commit | ce79d61198f26284e3e7f14faab03e2ac6e4c508 (patch) | |
tree | ac2b41985174004680d00a6a30e0674ea56527a2 /archiva-modules | |
parent | 89ec8af055cde53187ae1ebfd945d903f8e69b47 (diff) | |
download | archiva-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.java | 4 |
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() ); + } } |