[PATCH v2] winspool: Filter invalid characters when creating the PPD filename.
Huw Davies
huw at codeweavers.com
Wed Mar 10 06:25:17 CST 2021
On 10 Mar 2021, at 12:09, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
>
> Huw Davies <huw at codeweavers.com> wrote:
>
>> + static const WCHAR escape_chars[] = {'*','/','\\',0};
>
> At least '?' should be filtered as well. More complete list of invalid
> characters is at
> https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/unix/file.c#l178
Thanks for the list. Most of these won't be returned by CUPS
anyway, but it probably does make sense to filter them all out.
I'll send in a v3.
Huw.
More information about the wine-devel
mailing list