mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 01:15:12 -04:00
[iso] sanitize invalid FAT & NFTS filenames
* Also fix support for labels containing double quotes * Closes #135 * Closes #193
This commit is contained in:
parent
df44b26342
commit
5354d2f6ca
3 changed files with 33 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue