Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
aab72aa9
Commit
aab72aa9
authored
Nov 09, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Don't include 'Win32' token in user agent string.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5bcbfde3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
session.c
dlls/urlmon/session.c
+4
-5
No files found.
dlls/urlmon/session.c
View file @
aab72aa9
...
...
@@ -545,7 +545,7 @@ static void ensure_useragent(void)
' '
,
'('
,
'c'
,
'o'
,
'm'
,
'p'
,
'a'
,
't'
,
'i'
,
'b'
,
'l'
,
'e'
,
';'
,
' '
,
'M'
,
'S'
,
'I'
,
'E'
,
' '
,
'8'
,
'.'
,
'0'
,
';'
,
' '
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
' '
,
'%'
,
's'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
';'
,
' '
,
'%'
,
's'
,
'
;'
,
' '
,
'
T'
,
'r'
,
'i'
,
'd'
,
'e'
,
'n'
,
't'
,
'/'
,
'5'
,
'.'
,
'0'
,
0
};
' '
,
'%'
,
's'
,
'T'
,
'r'
,
'i'
,
'd'
,
'e'
,
'n'
,
't'
,
'/'
,
'5'
,
'.'
,
'0'
,
0
};
static
const
WCHAR
post_platform_keyW
[]
=
{
'S'
,
'O'
,
'F'
,
'T'
,
'W'
,
'A'
,
'R'
,
'E'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
...
...
@@ -555,9 +555,8 @@ static void ensure_useragent(void)
'\\'
,
'5'
,
'.'
,
'0'
,
'\\'
,
'U'
,
's'
,
'e'
,
'r'
,
' '
,
'A'
,
'g'
,
'e'
,
'n'
,
't'
,
'\\'
,
'P'
,
'o'
,
's'
,
't'
,
' '
,
'P'
,
'l'
,
'a'
,
't'
,
'f'
,
'o'
,
'r'
,
'm'
,
0
};
static
const
WCHAR
ntW
[]
=
{
'N'
,
'T'
,
' '
,
0
};
static
const
WCHAR
win32W
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
0
};
static
const
WCHAR
win64W
[]
=
{
'W'
,
'i'
,
'n'
,
'6'
,
'4'
,
0
};
static
const
WCHAR
wow64W
[]
=
{
'W'
,
'O'
,
'W'
,
'6'
,
'4'
,
0
};
static
const
WCHAR
win64W
[]
=
{
'W'
,
'i'
,
'n'
,
'6'
,
'4'
,
';'
,
' '
,
0
};
static
const
WCHAR
wow64W
[]
=
{
'W'
,
'O'
,
'W'
,
'6'
,
'4'
,
';'
,
' '
,
0
};
static
const
WCHAR
emptyW
[]
=
{
0
};
if
(
user_agent
)
...
...
@@ -571,7 +570,7 @@ static void ensure_useragent(void)
else
if
(
IsWow64Process
(
GetCurrentProcess
(),
&
is_wow
)
&&
is_wow
)
os_type
=
wow64W
;
else
os_type
=
win32
W
;
os_type
=
empty
W
;
sprintfW
(
buf
,
formatW
,
is_nt
,
info
.
dwMajorVersion
,
info
.
dwMinorVersion
,
os_type
);
len
=
strlenW
(
buf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment