diff options
author | Maria Odea B. Ching <oching@apache.org> | 2008-06-20 01:47:44 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2008-06-20 01:47:44 +0000 |
commit | 3fbd2cd8df32ab8bad4cfcc0bddb5aefebb5eede (patch) | |
tree | 6ff6713b9ea9baa62c18b7e0447b2bd71d8d2498 /archiva-modules | |
parent | f24fb294d77ddcd4863c584598c5c542c04bd34c (diff) | |
download | archiva-3fbd2cd8df32ab8bad4cfcc0bddb5aefebb5eede.tar.gz archiva-3fbd2cd8df32ab8bad4cfcc0bddb5aefebb5eede.zip |
[MRM-845]
submitted by Maria Catherine Tan
-fix 'page isn't redirecting properly' when repo group link is clicked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@669762 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java index 0b2fc0a12..1914be4aa 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/ArchivaDavResourceFactory.java @@ -746,7 +746,7 @@ public class ArchivaDavResourceFactory new ArchivaVirtualDavResource( mergedRepositoryContents, logicalResource.getPath(), mimeTypes, locator, this ); // compatibility with MRM-440 to ensure browsing the repository group works ok - if ( resource.isCollection() && !resource.getLocator().getResourcePath().endsWith( "/" ) ) + if ( resource.isCollection() && !request.getRequestURI().endsWith("/" ) ) { throw new BrowserRedirectException( resource.getHref() ); } |