MRM-853 - HTTP Error 500 when uploading artifact with Windows OS

Submitted by: John Michael Luy



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James William Dumay 2008-07-02 04:53:38 +00:00
parent fa6cdded81
commit 6723188061
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ public class UploadAction
private File getMetadata( String targetPath )
{
String artifactPath = targetPath.substring( 0, targetPath.lastIndexOf( '/' ) );
String artifactPath = targetPath.substring( 0, targetPath.lastIndexOf( File.separatorChar ) );
return new File( artifactPath, MetadataTools.MAVEN_METADATA );
}