[iso] revert overzealous filename sanitization

* slash and backslash must be kept, as we are sanitizing paths
This commit is contained in:
Pete Batard 2017-04-02 14:51:37 +01:00
parent e33b4589b6
commit da7a5bb30d
2 changed files with 6 additions and 6 deletions

View File

@ -104,7 +104,7 @@ static __inline char* sanitize_filename(char* filename, BOOL* is_identical)
{
size_t i, j;
char* ret = NULL;
char unauthorized[] = { '*', '?', '<', '>', ':', '|', '\\', '/'};
char unauthorized[] = { '*', '?', '<', '>', ':', '|' };
*is_identical = TRUE;
ret = safe_strdup(filename);

View File

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 2.13.1077"
CAPTION "Rufus 2.13.1078"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -334,8 +334,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,13,1077,0
PRODUCTVERSION 2,13,1077,0
FILEVERSION 2,13,1078,0
PRODUCTVERSION 2,13,1078,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -352,13 +352,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.13.1077"
VALUE "FileVersion", "2.13.1078"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.13.1077"
VALUE "ProductVersion", "2.13.1078"
END
END
BLOCK "VarFileInfo"