1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 11:42:23 -05:00

Caldav: Remove MAILTO: in addition to mailto: in getFreeBusy

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@839 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-11-16 22:49:52 +00:00
parent 38a39dbaa4
commit 06e6cf8a9d

View File

@ -3031,7 +3031,7 @@ public class ExchangeSession {
*/
public FreeBusy getFreebusy(String attendee, String startDateValue, String endDateValue) throws IOException {
attendee = replaceIcal4Principal(attendee);
if (attendee.startsWith("mailto:")) {
if (attendee.startsWith("mailto:") || attendee.startsWith("MAILTO:")) {
attendee = attendee.substring("mailto:".length());
}