Use a_sLgnQS instead of a_sLgn first to support new OWA 8.3.83.4

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1570 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-12-09 09:54:29 +00:00
parent db3f898ce4
commit 5791ce19c3
1 changed files with 2 additions and 2 deletions

View File

@ -405,9 +405,9 @@ public abstract class ExchangeSession {
if (content instanceof CommentToken) {
String scriptValue = ((CommentToken) content).getCommentedContent();
String sUrl = StringUtil.getToken(scriptValue, "var a_sUrl = \"", "\"");
String sLgn = StringUtil.getToken(scriptValue, "var a_sLgn = \"", "\"");
String sLgn = StringUtil.getToken(scriptValue, "var a_sLgnQS = \"", "\"");
if (sLgn == null) {
sLgn = StringUtil.getToken(scriptValue, "var a_sLgnQS = \"", "\"");
sLgn = StringUtil.getToken(scriptValue, "var a_sLgn = \"", "\"");
}
if (sUrl != null && sLgn != null) {
String src = getScriptBasedFormURL(initmethod, sLgn + sUrl);