Dav: switch back to mailbox path on Exchange 2003 for CmdBasePath

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1855 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-11-09 22:35:57 +00:00
parent b163176284
commit cd8872b156
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ public class DavExchangeSession extends ExchangeSession {
* @return cmd base path
*/
public String getCmdBasePath() {
if (PUBLIC_ROOT.equals(publicFolderUrl) && mailPath != null) {
if (("Exchange2003".equals(serverVersion) || PUBLIC_ROOT.equals(publicFolderUrl)) && mailPath != null) {
// public folder is not available => try to use mailbox path
// Note: This does not work with freebusy, which requires /public/
return mailPath;