http://bugs.winehq.org/show_bug.cgi?id=29123
Bug #: 29123 Summary: iexplore: failed to login icbc onine bank Product: Wine Version: 1.3.32 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
$ wine --version wine-1.3.32-369-gd351e02
Hacked dlls/mshtml/persist.c to force use_gecko_script=FALSE /* Jacek, should I file separate bug for it ? */
1. Download http://www.icbc.com.cn/icbc/html/download/dkq/icbc_netbank_client_controls.e...
2. $ winetricks -q mfc42
3. $ wine icbc_netbank_client_controls.exe
4. open icbc website with wine iexplore:
$ WINEDEBUG=+jscript wine iexplore 'https://mybank.icbc.com.cn/icbc/newenperbank/main/login.jsp?injectTranName=&...'
5. type in a 17 digit username, such as 6222023601234567890 type in a password, at least 4 digit type in the verify code
6. submit
Expect result: submit the form to icbc website, if the username or the password is incorrect, then there will be a error page display; if the username and the password is correct, then login to ICBC online bank.
Actual result: nothing happens
+jscript trace attached
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #1 from fracting fracting@gmail.com 2011-11-18 07:56:23 CST --- Created attachment 37520 --> http://bugs.winehq.org/attachment.cgi?id=37520 Log: +jscript trace
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #2 from fracting fracting@gmail.com 2011-11-18 07:57:46 CST --- (In reply to comment #0)
- type in a 17 digit username, such as 6222023601234567890 type in a password, at least 4 digit type in the verify code
Sorry 6222023601234567890 is invalid, please use 6222023601234567891 for testing.
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #3 from fracting fracting@gmail.com 2011-11-18 08:02:01 CST --- I try to manually execute the below javascript, that works on Windows but doesn't work on wine iexplore:
--- snip --- javascript:alert(document.logonform.action="/servlet/com.icbc.inbs.servlet.ICBCINBSEstablishSessionServlet");
javascript:alert(document.logonform.action)
javascript:alert(document.all.safeSubmit1.reset()) //blank result
javascript:alert(document.logonform.KeyPart.commitKeyPart(logonform.safeEdit1)); //0
javascript:alert(document.logonform.safeEdit1.commit(safeSubmit1)); //0
javascript:alert(document.logonform.KeyPart.commitKeyPart(logonform.KeyPart)); //0
javascript:alert(document.logonform.KeyPart.commit(safeSubmit1)); //0
javascript:alert(document.all.safeSubmit1.submit(logonform)); //0 --- snip ---
the comments like "//0" means the return value is 0 in wine iexplore, but I found that they are "1" in Windows IE, I'm not sure whether it is serious.
http://bugs.winehq.org/show_bug.cgi?id=29123
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #4 from Jacek Caban jacek@codeweavers.com 2011-12-01 08:56:18 CST --- Created attachment 37722 --> http://bugs.winehq.org/attachment.cgi?id=37722 hack
The attached hack fixes the problem. I'm still trying to find the proper fix.
http://bugs.winehq.org/show_bug.cgi?id=29123
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Jacek Caban jacek@codeweavers.com 2011-12-01 08:56:38 CST --- confirming
http://bugs.winehq.org/show_bug.cgi?id=29123
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37722|0 |1 is obsolete| |
--- Comment #6 from Jacek Caban jacek@codeweavers.com 2011-12-02 03:47:47 CST --- Created attachment 37737 --> http://bugs.winehq.org/attachment.cgi?id=37737 hack
This version of the hack should not cause troubled described in bug 29222. Still, it's just a hack...
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #7 from Jacek Caban jacek@codeweavers.com 2011-12-05 10:51:00 CST --- Patch sent to wine-patches:
http://source.winehq.org/patches/data/81530
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #8 from fracting fracting@gmail.com 2011-12-06 11:58:03 CST --- Still failed to login ICBC with wine-1.3.34-39-g95f81d1 ( force use_gecko_script=false)
$ sha1sum icbc_netbank_client_controls.exe 08d318bb75e2172dd99c86d1f2db1bc19ce7580c icbc_netbank_client_controls.exe
$ WINEDEBUG=+jscript,+mshtml wine iexplore 'https://mybank.icbc.com.cn/icbc/newenperbank/main/login.jsp?injectTranName=&...'
Here is what I can see in the jscript trace, not sure whether it is harmful: warn:jscript:throw_error L"Object doesn't support this property or method"
Will attach new log
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #9 from fracting fracting@gmail.com 2011-12-06 12:00:03 CST --- Created attachment 37830 --> http://bugs.winehq.org/attachment.cgi?id=37830 Log: +jscript,+mshtml, icbc can not login (new)
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #10 from Austin English austinenglish@gmail.com 2013-12-05 21:51:19 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.7 or newer) wine? If so, please attach the terminal output in 1.7.7 (see http://wiki.winehq.org/FAQ#get_log).
http://bugs.winehq.org/show_bug.cgi?id=29123
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #11 from lizhenbo litimetal@gmail.com 2013-12-06 18:32:08 CST --- Created attachment 46767 --> http://bugs.winehq.org/attachment.cgi?id=46767 +jscript termianl outbut.tar.bz2
It behaves as Qian described
http://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #12 from lizhenbo litimetal@gmail.com 2013-12-06 18:32:44 CST --- (In reply to comment #11)
Created attachment 46767 [details] +jscript termianl outbut.tar.bz2
It behaves as Qian described
I got this terminal output in wine-1.7.7
https://bugs.winehq.org/show_bug.cgi?id=29123
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://mybank.icbc.com.cn/ | |icbc/newenperbank/main/logi | |n.jsp?injectTranName=&injec | |tTranData=&injectSignStr=&l | |astUserName=&injectSignStrV | |=
--- Comment #13 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=29123
--- Comment #14 from lizhenbo litimetal@gmail.com --- Created attachment 50857 --> https://bugs.winehq.org/attachment.cgi?id=50857 backtrace in 1.7.37.txt
I can't confirm this bug
wine iexplore 'https://mybank.icbc.com.cn/icbc/newenperbank/main/login.jsp?injectTranName=&...'
Wait few seconds, and then iexplorer.exe would crash. It seems that the page of ICBC has been changed