mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -05:00
Caldav: encode @ in current-user-principal
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1746 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e2aadf235d
commit
e8c1b24f4b
@ -775,7 +775,7 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
response.startPropstat();
|
response.startPropstat();
|
||||||
|
|
||||||
if (request.hasProperty("current-user-principal")) {
|
if (request.hasProperty("current-user-principal")) {
|
||||||
response.appendHrefProperty("D:current-user-principal", "/principals/users/" + session.getEmail());
|
response.appendHrefProperty("D:current-user-principal", encodePath("/principals/users/" + session.getEmail()));
|
||||||
}
|
}
|
||||||
response.endPropStatOK();
|
response.endPropStatOK();
|
||||||
response.endResponse();
|
response.endResponse();
|
||||||
|
Loading…
Reference in New Issue
Block a user