mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
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:
parent
002186dc1e
commit
6b3b27c818
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user