mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
58410: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 58348: ALF-18620: WebDAV: Changing case of folder leads to error git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -519,6 +519,13 @@ public class WebDAVHelper
|
||||
// find it
|
||||
FileInfo fileInfo = m_fileFolderService.resolveNamePath(rootNodeRef, splitPath);
|
||||
|
||||
String fileName = splitPath.get(splitPath.size() - 1);
|
||||
if (!fileInfo.getName().equals(fileName))
|
||||
{
|
||||
throw new FileNotFoundException("Requested filename " + fileName +
|
||||
" does not match case of " + fileInfo.getName());
|
||||
}
|
||||
|
||||
// done
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
|
Reference in New Issue
Block a user