[MRM-1611] Uploading fail on window server.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-01 10:28:30 +00:00
parent 9b37010349
commit 7aa49fd4ed
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public class UploadAction
String artifactPath = repository.toPath( artifactReference );
int lastIndex = artifactPath.lastIndexOf( '/' );
int lastIndex = artifactPath.lastIndexOf( File.separatorChar );
String path = artifactPath.substring( 0, lastIndex );
File targetPath = new File( repoConfig.getLocation(), path );