Fix execute not to mangle the argument when it prompts for it
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Jul 2011 08:04:07 +0000 (10:04 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 9 Jul 2011 13:16:21 +0000 (15:16 +0200)
commit0bfdbfcbdd57d31506d436a2d17476c7cc349f12
treeb8d604a25db6045d50ed00a30ab78ffb62783ac5
parent0493cbc65539145949a98f10e6552f6bb7131609
Fix execute not to mangle the argument when it prompts for it

The argument is UTF-8.  If it's missing, execute() gets it with
getstring(), which mangles non-ASCII characters.  Clients reject
mangled file names for security reasons.

Fix by switching to ugetstring().  Missed in commit 69832255, v4.3.11.

Non-ASCII characters are still mangled in ASCII sessions, but that's
not expected to work.
src/lib/player/player.c