[iso] sanitize invalid FAT & NFTS filenames

* Also fix support for labels containing double quotes
* Closes #135
* Closes #193
This commit is contained in:
Pete Batard 2013-10-27 00:05:54 +01:00
parent df44b26342
commit 5354d2f6ca
3 changed files with 33 additions and 8 deletions

View file

@ -206,7 +206,7 @@ static void ToValidLabel(WCHAR* name, BOOL bFAT)
{
size_t i, j, k;
BOOL found;
WCHAR unauthorized[] = L"*?,;:/\\|+=<>[]";
WCHAR unauthorized[] = L"*?,;:/\\|+=<>[]\"";
WCHAR to_underscore[] = L"\t.";
if (name == NULL)