T8358: Fix DAV folder owner encoding
This commit is contained in:
parent
95cc2eb973
commit
ed50d5fc58
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class kolab_storage_dav_folder extends kolab_storage_folder
|
||||||
if (isset($this->attributes['owner'])) {
|
if (isset($this->attributes['owner'])) {
|
||||||
// Assume username/email is the last part of a principal href
|
// Assume username/email is the last part of a principal href
|
||||||
$path = explode('/', trim($this->attributes['owner'], '/'));
|
$path = explode('/', trim($this->attributes['owner'], '/'));
|
||||||
$this->owner = end($path);
|
$this->owner = rawurldecode(end($path));
|
||||||
} else {
|
} else {
|
||||||
$rcube = rcube::get_instance();
|
$rcube = rcube::get_instance();
|
||||||
$this->owner = $rcube->get_user_name();
|
$this->owner = $rcube->get_user_name();
|
||||||
|
|
Loading…
Add table
Reference in a new issue