http://bugs.winehq.org/show_bug.cgi?id=2497
------- Additional Comments From traxtopel@fastmail.fm 2004-13-10 13:25 ------- A patch has been submitted which corrects this problem. Please can this be included .. begs.
Oops, resend with the right patch.
Vitaliy Margolen
Wednesday, October 13, 2004, 5:58:22 AM, Vitaliy Margolen wrote:
Second char of argument identifier was getting into program name: wine start http://yahoo.com was executing: winebrowser "http://yahoo.com%5C%221
Vitaliy Margolen
changelog: dlls/shel32/shlexec.com fix parameter parsing
Index: dlls/shell32/shlexec.c =================================================================== RCS file: /home/wine/wine/dlls/shell32/shlexec.c,v retrieving revision 1.54 diff -u -r1.54 shlexec.c --- dlls/shell32/shlexec.c 14 Sep 2004 20:14:09 -0000 1.54 +++ dlls/shell32/shlexec.c 13 Oct 2004 11:55:04 -0000 @@ -94,7 +94,8 @@ { if (*fmt == '%') { - switch (*++fmt) + fmt++; + switch (*fmt++) { case '\0': case '%':