From b935710b60c7eca9799fc56f7a9bc7848e661682 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 21 Feb 2024 11:47:04 +0000 Subject: [PATCH] Sanitize the AAF's snapshot name (it'll get used later to create an OS folder) --- gtk2_ardour/ardour_ui_aaf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/ardour_ui_aaf.cc b/gtk2_ardour/ardour_ui_aaf.cc index 8633dd61b7..a293715b31 100644 --- a/gtk2_ardour/ardour_ui_aaf.cc +++ b/gtk2_ardour/ardour_ui_aaf.cc @@ -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);