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
62c257ac
Commit
62c257ac
authored
Mar 13, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Ignore trailing slash in ITSProtocol::Start.
parent
ff0a6136
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
protocol.c
dlls/itss/protocol.c
+7
-2
No files found.
dlls/itss/protocol.c
View file @
62c257ac
...
@@ -194,12 +194,17 @@ static HRESULT WINAPI ITSProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
...
@@ -194,12 +194,17 @@ static HRESULT WINAPI ITSProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
}
}
object_name
=
p
+
2
;
object_name
=
p
+
2
;
len
=
strlenW
(
object_name
);
if
(
*
object_name
!=
'/'
&&
*
object_name
!=
'\\'
)
{
if
(
*
object_name
!=
'/'
&&
*
object_name
!=
'\\'
)
{
int
len
=
strlenW
(
object_name
)
+
1
;
memmove
(
object_name
+
1
,
object_name
,
(
len
+
1
)
*
sizeof
(
WCHAR
));
memmove
(
object_name
+
1
,
object_name
,
len
*
sizeof
(
WCHAR
));
*
object_name
=
'/'
;
*
object_name
=
'/'
;
len
++
;
}
}
if
(
object_name
[
len
-
1
]
==
'/'
)
object_name
[
--
len
]
=
0
;
for
(
p
=
object_name
;
*
p
;
p
++
)
{
for
(
p
=
object_name
;
*
p
;
p
++
)
{
if
(
*
p
==
'\\'
)
if
(
*
p
==
'\\'
)
*
p
=
'/'
;
*
p
=
'/'
;
...
...
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