http://bugs.winehq.org/show_bug.cgi?id=12853
Summary: wininet doesn't save cookie on secure (https) connection Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: eddie@lania.nl
Created an attachment (id=12550) --> (http://bugs.winehq.org/attachment.cgi?id=12550) Attachment showing bug. wininet cannot set cookie.
On wine-09.60:
When trying to open a secure connection (https) to a site which wants to write a cookie (ore checks for the presence of a cookie), wininet fails.
Steps to reproduce:
1. Install Internet explorer 6.
2. make sure wine dll overrides is not set to use native wininet and crypt32.
3. open a connection to a https site that requires to set a cookie in ie, i.e. to a microsoft exchange owa.
Result: fixme:wininet:InternetSetCookieExW.
See attachment.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #1 from Hans Leidekker hans@it.vu.nl 2008-05-03 05:49:19 --- Created an attachment (id=12659) --> (http://bugs.winehq.org/attachment.cgi?id=12659) wininet: Partial implementation of Internet{G, S}etCookieEx.
Try this patch.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #2 from Eddie Lania eddie@lania.nl 2008-05-03 05:59:40 --- (In reply to comment #1)
Created an attachment (id=12659)
--> (http://bugs.winehq.org/attachment.cgi?id=12659) [details]
wininet: Partial implementation of Internet{G, S}etCookieEx.
Try this patch.
I would like to try your patch but I have a problem Hans.
I installed Wine from RPMS (by using yum). Can i test then also your patch? Or would it then be required to download the SRPMS and aplly the patch and rebuild the RPM packages afterwards?
With kind regards,
Eddie Lania.
http://bugs.winehq.org/show_bug.cgi?id=12853
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@it.vu.nl
--- Comment #3 from Hans Leidekker hans@it.vu.nl 2008-05-03 06:27:31 ---
I installed Wine from RPMS (by using yum). Can i test then also your patch? Or would it then be required to download the SRPMS and aplly the patch and rebuild the RPM packages afterwards?
It's better to build Wine straight from the source. Or you could wait for the next release.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #4 from Eddie Lania eddie@lania.nl 2008-05-08 18:02:24 --- The problem occurs not only on https connections but also on regular http connections.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #5 from Eddie Lania eddie@lania.nl 2008-05-10 13:51:27 --- (In reply to comment #1)
Created an attachment (id=12659)
--> (http://bugs.winehq.org/attachment.cgi?id=12659) [details]
wininet: Partial implementation of Internet{G, S}etCookieEx.
Try this patch.
Dear Hans,
I tried to install the latest wine version, the 1.0 release candidate, to test your patch but this version of wine doesn't work:
service_control_dispatcher failed to open service manager error 1722
On which version of wine should your patch be applied?
Or is the "implementation of Internet{G, S}etCookieEx." being scheduled to be in the next official release of wine? Or does the status of this "bug" has to be changed to "CONFIRMED" first? In this case I am sorry that I can not test further at this moment.
Wat do I have to do now hans? Can you help me?
With kind regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #6 from Hans Leidekker hans@it.vu.nl 2008-05-10 15:01:41 ---
I tried to install the latest wine version, the 1.0 release candidate, to test your patch but this version of wine doesn't work:
service_control_dispatcher failed to open service manager error 1722
This may be due to recent changes in the service manager code. Try a clean Wine prefix.
On which version of wine should your patch be applied?
The patch applies to 1.0-rc1.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #7 from Eddie Lania eddie@lania.nl 2008-05-10 16:31:49 --- (In reply to comment #6)
I tried to install the latest wine version, the 1.0 release candidate, to test your patch but this version of wine doesn't work:
service_control_dispatcher failed to open service manager error 1722
This may be due to recent changes in the service manager code. Try a clean Wine prefix.
On which version of wine should your patch be applied?
The patch applies to 1.0-rc1.
So I did, and then the error also occurs.
1. I removed my previous wine version (yum remove) from fedora 8.
2. to make sure there were no "left overs" i did a "find / | grep - wine" and found nothing left.
3. I downloaded the wine source and did "./configure", "make dep && make" and afterwards "make install".
4. I did a wineprefixcreate
5. I tried to start "winecfg" and then the eroor came up.
Is this another bug perhaps?
Regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #8 from Eddie Lania eddie@lania.nl 2008-05-11 04:29:59 --- (In reply to comment #7)
(In reply to comment #6)
I tried to install the latest wine version, the 1.0 release candidate, to test your patch but this version of wine doesn't work:
service_control_dispatcher failed to open service manager error 1722
This may be due to recent changes in the service manager code. Try a clean Wine prefix.
On which version of wine should your patch be applied?
The patch applies to 1.0-rc1.
So I did, and then the error also occurs.
I removed my previous wine version (yum remove) from fedora 8.
to make sure there were no "left overs" i did a "find / | grep - wine" and
found nothing left.
- I downloaded the wine source and did "./configure", "make dep && make" and
afterwards "make install".
I did a wineprefixcreate
I tried to start "winecfg" and then the eroor came up.
Is this another bug perhaps?
Regards,
Eddie.
Hans,
I found the problem. When rpcrt4 is set to native then this error occurs.
Sorry for my previous message (comment #6).
I am trying your patch now. To be continued.
regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #9 from Eddie Lania eddie@lania.nl 2008-05-11 04:59:40 --- Created an attachment (id=12918) --> (http://bugs.winehq.org/attachment.cgi?id=12918) Wininet Wine 1.0 RC1 login on MS OWA.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #10 from Eddie Lania eddie@lania.nl 2008-05-11 05:01:03 --- I can login now but after login all the owa displays is a blank page with the message:
Length Required
I copied and pasted the messages created during and after login in the attachment.
With kind regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #11 from Eddie Lania eddie@lania.nl 2008-05-11 15:21:05 --- Wininet doesn't save cookies (yet). At least, not in the coockie directory. is this correct?
Is this due to the fact that the implementation of "Internet{G, S}etCookieEx" is not completed yet?
With kind regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #12 from Hans Leidekker hans@it.vu.nl 2008-05-11 15:31:15 --- Wine's cookie store is memory only.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #13 from Eddie Lania eddie@lania.nl 2008-05-11 15:39:52 --- (In reply to comment #12)
Wine's cookie store is memory only.
Dear Hans,
If cookies can't be stored permanently by builtin wininet then accpted cookies can also not be used in future connections to the same destination.
Can it be made so that cookies can be stored permanently in the designated cookie directory? It would be a great benefit.
With kind regards,
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
--- Comment #14 from Hans Leidekker hans@it.vu.nl 2008-05-13 08:44:15 --- InternetGet/SetCookieEx patch has been committed.
http://bugs.winehq.org/show_bug.cgi?id=12853
Eddie Lania eddie@lania.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #15 from Eddie Lania eddie@lania.nl 2008-06-04 10:11:20 --- I'd like to file no more bugs to wine anymore because I don't like the way Vitaliy Margolen is treating me.
Can I unregister my e-mail address from wine somewhere?
Eddie.
http://bugs.winehq.org/show_bug.cgi?id=12853
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Austin English austinenglish@gmail.com 2008-09-10 13:22:56 --- Closing.