[Bug 23321] New: ShellExecuteEx can fail for paths with spaces in them
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Jun 22 15:03:05 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=23321
Summary: ShellExecuteEx can fail for paths with spaces in them
Product: Wine
Version: 1.2-rc4
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: shell32
AssignedTo: wine-bugs at winehq.org
ReportedBy: basinilya at gmail.com
CC: wylda at volny.cz
+++ This bug was initially created as a clone of Bug #7900 +++
If you pass an lpFile with space(s) in its name, and if there exists another
file or directory whose path matches the lpFile truncated at any of its spaces,
then ShellExecuteEx attempts to open/execute that other file instead.
Passing an lpFile with embedded quotes surrounding the path DOES help.
tests:
1) this test case is still marked for todo_wine
http://source.winehq.org/source/dlls/shell32/tests/shlexec.c?v=wine-1.2-rc4#L841
2) similar testcase by me
http://source.winehq.org/source/dlls/shell32/tests/shlexec.c?v=wine-1.2-rc4#L875
Patch exists, but not applied yet, because it removes possibly important block
of code.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list