Caldav: force 403 forbidden instead of 401 on unauthorized update to public folder item

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2029 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-09-20 20:55:55 +00:00
parent 002186dc1e
commit 6b3b27c818
1 changed files with 1 additions and 1 deletions

View File

@ -1674,7 +1674,7 @@ public class DavExchangeSession extends ExchangeSession {
}
// 440 means forbidden on Exchange
if (status == 440) {
if (status == 440 || status == 401) {
status = HttpStatus.SC_FORBIDDEN;
}
itemResult.status = status;