mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-07 03:38:05 -05:00
Caldav: fix bug 2819028, case insensitive email in sendPrincipal test
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@640 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
119fa81a9a
commit
0847630d82
@ -629,7 +629,8 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// no inbox/outbox for delegated/shared calendars
|
// no inbox/outbox for delegated/shared calendars
|
||||||
if ("users".equals(prefix) && session.getEmail().equals(principal)) {
|
// case insensitive to avoir "response..*::["schedule-inbox-URL"]..*::href[0] is undefined" error in Lightning
|
||||||
|
if ("users".equals(prefix) && session.getEmail().equalsIgnoreCase(principal)) {
|
||||||
if (request.hasProperty("schedule-inbox-URL")) {
|
if (request.hasProperty("schedule-inbox-URL")) {
|
||||||
response.appendHrefProperty("C:schedule-inbox-URL", "/users/" + actualPrincipal + "/inbox");
|
response.appendHrefProperty("C:schedule-inbox-URL", "/users/" + actualPrincipal + "/inbox");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user