mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
EWS: workaround for user reported issue, less strict filter in isItemId
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2220 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
0c6964ccd8
commit
83ba895e51
@ -2532,7 +2532,8 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
protected static boolean isItemId(String itemName) {
|
||||
return itemName.length() >= 152
|
||||
// item name is base64url
|
||||
&& itemName.matches("^([A-Za-z0-9-_]{4})*([A-Za-z0-9-_]{4}|[A-Za-z0-9-_]{3}=|[A-Za-z0-9-_]{2}==)$");
|
||||
//&& itemName.matches("^([A-Za-z0-9-_]{4})*([A-Za-z0-9-_]{4}|[A-Za-z0-9-_]{3}=|[A-Za-z0-9-_]{2}==)$")
|
||||
&& itemName.indexOf(' ') < 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user