diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-14 18:14:03 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-14 18:14:03 +0100 |
commit | d37076a33296877fee3154db689f2990785aed94 (patch) | |
tree | 32a5eac40012a92c05eea81d401147b00fe18bef /src/util.h | |
parent | 8a7f76e7a1b404dc7f703d09d724defaee9e4238 (diff) |
Escape all user-input strings when writing configuration.cc
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |