Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4e18ac60
Commit
4e18ac60
authored
Dec 18, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't get confused matching URLs with a colon in the userinfo portion…
crypt32: Don't get confused matching URLs with a colon in the userinfo portion (e.g. user:password@domain).
parent
79a20453
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
chain.c
dlls/crypt32/chain.c
+6
-2
No files found.
dlls/crypt32/chain.c
View file @
4e18ac60
...
...
@@ -686,8 +686,12 @@ static BOOL url_matches(LPCWSTR constraint, LPCWSTR name,
authority_end
=
strchrW
(
name
,
'?'
);
if
(
!
authority_end
)
authority_end
=
name
+
strlenW
(
name
);
/* Remove any port number from the authority */
for
(
colon
=
authority_end
;
colon
>=
name
&&
*
colon
!=
':'
;
colon
--
)
/* Remove any port number from the authority. The userinfo portion
* of an authority may contain a colon, so stop if a userinfo portion
* is found (indicated by '@').
*/
for
(
colon
=
authority_end
;
colon
>=
name
&&
*
colon
!=
':'
&&
*
colon
!=
'@'
;
colon
--
)
;
if
(
*
colon
==
':'
)
authority_end
=
colon
;
...
...
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