1
Vote

IsoUtilities.cs function NormalizeFileName appends dot (.) to files without extension

description

Current
        internal static string NormalizeFileName(string name)
        {
            string[] parts = SplitFileName(name);
            return parts[0] + '.' + parts[1] + ';' + parts[2];
        }
Should be fixed to somewhat like
        internal static string NormalizeFileName(string name)
        {
            string[] parts = SplitFileName(name);
            if (parts[1] != String.Empty)
                return parts[0] + '.' + parts[1] + ';' + parts[2];
            else
                return parts[0] + ';' + parts[2];
        }

comments