Jacek Caban : urlmon: Make default user agent compatible with IE11.

Alexandre Julliard julliard at winehq.org
Thu Mar 25 16:49:23 CDT 2021


Module: wine
Branch: master
Commit: 266dc7e8e94f1602ec273b38351d6a32db468178
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=266dc7e8e94f1602ec273b38351d6a32db468178

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Mar 25 19:33:51 2021 +0100

urlmon: Make default user agent compatible with IE11.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/urlmon/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/urlmon/session.c b/dlls/urlmon/session.c
index 5154bdb61f8..764f52c5630 100644
--- a/dlls/urlmon/session.c
+++ b/dlls/urlmon/session.c
@@ -528,7 +528,7 @@ static void ensure_useragent(void)
     else
         os_type = L"";
 
-    swprintf(buf, ARRAY_SIZE(buf), L"Mozilla/4.0 (compatible; MSIE 8.0; Windows %s%d.%d; %sTrident/5.0",
+    swprintf(buf, ARRAY_SIZE(buf), L"Mozilla/4.0 (compatible; MSIE 7.0; Windows %s%d.%d; %sTrident/7.0",
              is_nt, info.dwMajorVersion, info.dwMinorVersion, os_type);
     len = lstrlenW(buf);
 




More information about the wine-cvs mailing list