WININET: disable the Tracking-Cookie code

Mike McCormack mike at codeweavers.com
Wed Jul 21 06:31:30 CDT 2004


This is not always sent, and we don't do the right thing, so disable it 
for now.

Mike


ChangeLog:
* disable the Tracking-Cookie code

-------------- next part --------------
Index: dlls/wininet/cookie.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/cookie.c,v
retrieving revision 1.8
diff -u -r1.8 cookie.c
--- dlls/wininet/cookie.c	19 Jul 2004 19:32:36 -0000	1.8
+++ dlls/wininet/cookie.c	21 Jul 2004 10:15:28 -0000
@@ -337,6 +337,7 @@
     cookie_domain *cookiesDomain = NULL;
     cookie *thisCookie;
     int cnt = 0, domain_count = 0;
+#if 0
     /* Ok, this is just ODD!. During my tests, it appears M$ like to send out
      * a cookie called 'MtrxTracking' to some urls. Also returns it from InternetGetCookie.
      * I'm not exactly sure what to make of this, so its here for now.
@@ -348,14 +349,17 @@
         '0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5',
         '6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1', 0 };
     static const WCHAR szps[] = { '%','s',0 };
+#endif
 
     TRACE("(%s, %s, %p, %p)\n", debugstr_w(lpszUrl),debugstr_w(lpszCookieName),
 	  lpCookieData, lpdwSize);
 
+#if 0
     if (lpCookieData)
 	cnt += snprintfW(lpCookieData + cnt, *lpdwSize - cnt, szps, TrackingString);
     else
 	cnt += strlenW(TrackingString);
+#endif
 
     while ((cookiesDomain = COOKIE_findNextDomainFromUrl(lpszUrl, cookiesDomain, TRUE)))
     {


More information about the wine-patches mailing list