diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-20 00:58:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-02-20 00:58:31 +0000 |
| commit | 1460bda6f80b6529e31a1a63029dc0ec5f7d0ae8 (patch) | |
| tree | 153f0b437ceff79e6aa305aea3bc50388109d629 /src/lib/util.h | |
| parent | 14247790278d45e98004ef54b8ba700d10f3193a (diff) | |
Be more careful about allowing possibly-trouble-causing characters in DCP filenames.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index a93ca53ac..4e6e50dd7 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -82,5 +82,6 @@ extern std::map<std::string, std::string> split_get_request (std::string url); extern std::string video_asset_filename (boost::shared_ptr<dcp::PictureAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern std::string audio_asset_filename (boost::shared_ptr<dcp::SoundAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern float relaxed_string_to_float (std::string); +extern std::string careful_string_filter (std::string); #endif |
