Make sure generated folder IDs do not start with a digit
This commit is contained in:
parent
52caa307fd
commit
2079f6e3fa
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ class kolab_storage_dav
|
|||
$href = substr($href, strlen($rootPath));
|
||||
}
|
||||
|
||||
return md5(rtrim($uri, '/') . '/' . trim($href, '/'));
|
||||
// Start with a letter to prevent from all kind of issues if it starts with a digit
|
||||
return 'f' . md5(rtrim($uri, '/') . '/' . trim($href, '/'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue