From bfd4c5d44eda648ae2fb57d8b9db85cf952360ac Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 30 Nov 2022 03:26:38 +0000 Subject: Add a method for quickly escaping a tag value. --- include/clientprotocol.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/clientprotocol.h b/include/clientprotocol.h index f65334c43..b73370ea1 100644 --- a/include/clientprotocol.h +++ b/include/clientprotocol.h @@ -282,6 +282,11 @@ public: typedef std::vector ParamList; + /** Escapes a value for use in a tag value. + * @param value The value to escape. + */ + static std::string CoreExport EscapeTag(const std::string& value); + private: typedef std::vector> SerializedList; -- cgit v1.3.1-10-gc9f91