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) {
|
if (logonForm != null) {
|
||||||
String logonMethodPath = logonForm.getAttributeByName("action");
|
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));
|
logonMethod = new PostMethod(getAbsoluteUri(initmethod, logonMethodPath));
|
||||||
|
|
||||||
// retrieve lost inputs attached to body
|
// retrieve lost inputs attached to body
|
||||||
|
|
Loading…
Reference in New Issue