diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-22 00:09:07 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-22 00:09:07 +0000 |
| commit | 137b2b1b440b5594b4d371c10884acd0a90df6bf (patch) | |
| tree | 2b2766d36e750faaecb0368c8c823d2ca009258b /src/lib/cinema_kdms.cc | |
| parent | 9af2f52c16ceb198367c801713eb4f5c0435f81e (diff) | |
Make careful_string_filter a little better and use it for KDM filenames.v2.13.133
Diffstat (limited to 'src/lib/cinema_kdms.cc')
| -rw-r--r-- | src/lib/cinema_kdms.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cinema_kdms.cc b/src/lib/cinema_kdms.cc index 2e1d03b40..558aee504 100644 --- a/src/lib/cinema_kdms.cc +++ b/src/lib/cinema_kdms.cc @@ -67,7 +67,7 @@ CinemaKDMs::make_zip_file (boost::filesystem::path zip_file, dcp::NameFormat nam name_values['s'] = i.screen->name; name_values['i'] = i.kdm.id (); - string const name = name_format.get(name_values, ".xml"); + string const name = careful_string_filter(name_format.get(name_values, ".xml")); if (zip_add (zip, name.c_str(), source) == -1) { throw runtime_error ("failed to add KDM to ZIP archive"); } |
