1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 03:32:22 -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:
mguessan 2011-07-25 12:55:45 +00:00
parent e2aadf235d
commit e8c1b24f4b

View File

@ -775,7 +775,7 @@ public class CaldavConnection extends AbstractConnection {
response.startPropstat();
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.endResponse();