mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
workaround for broken form with empty action
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1883 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
24b842bafe
commit
444aed57e9
@ -378,6 +378,11 @@ public abstract class ExchangeSession {
|
||||
if (logonForm != null) {
|
||||
String logonMethodPath = logonForm.getAttributeByName("action");
|
||||
|
||||
// workaround for broken form with empty action
|
||||
if (logonMethodPath != null && logonMethodPath.length() == 0) {
|
||||
logonMethodPath = "/owa/auth.owa";
|
||||
}
|
||||
|
||||
logonMethod = new PostMethod(getAbsoluteUri(initmethod, logonMethodPath));
|
||||
|
||||
// retrieve lost inputs attached to body
|
||||
|
Loading…
x
Reference in New Issue
Block a user