Sanitize the AAF's snapshot name (it'll get used later to create an OS folder)

This commit is contained in:
John Emmas 2024-02-21 11:47:04 +00:00
parent 3efaf60de1
commit b935710b60
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ ARDOUR_UI::new_session_from_aaf (string const& aaf, string const& target_dir, st
snapshot = basename_nosuffix (aaf);
}
snapshot = laaf_util_clean_filename((char *)snapshot.c_str());
snapshot = legalize_for_universal_path (snapshot);
path = Glib::build_filename (target_dir, snapshot);