From d37076a33296877fee3154db689f2990785aed94 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 14 Jan 2023 18:14:03 +0100 Subject: Escape all user-input strings when writing configuration.cc --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 45f69d4..3ebef41 100644 --- a/src/util.h +++ b/src/util.h @@ -22,3 +22,5 @@ void append(T& a, const T& b) } ctor::target_type target_type_from_extension(const std::filesystem::path& file); + +std::string esc(const std::string& in); -- cgit v1.2.3