X Tutup
Skip to content

Commit 0f1c83b

Browse files
Pasquale Tripodiphil-davis
authored andcommitted
Fix decoding of calendars uri
1 parent 15b5ed6 commit 0f1c83b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/dav/lib/CalDAV/CalendarHome.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public function getChild($name) {
8686
}
8787

8888
// Calendars
89+
$name = \urldecode($name);
8990
foreach ($this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']) as $calendar) {
9091
if ($calendar['uri'] === $name) {
9192
return new Calendar($this->caldavBackend, $calendar, $this->l10n);

changelog/unreleased/37750

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bugfix: fix decoding of calendars uri
2+
3+
In case an user had calendars uri containing special characters, for instance "persönlich", and this user was then invited to a calendar event, the event could not be created and a 404 was shown in the stack trace. Reason for this was the uri not being properly decoded. The behavior has now been fixed.
4+
5+
https://github.com/owncloud/core/pull/37750

0 commit comments

Comments
 (0)
X Tutup