From 2acf29a86c8fffeb644fb5b23b3199901cf530eb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 24 Jun 2021 16:12:30 +0200 Subject: [PATCH] Revert "json: also escape '/' as required by JSON" This reverts commit eb8546a682795febefa65181c99ffc97e73955aa. We don't need to escape the / according to RFC7159 --- spa/include/spa/utils/json.h | 1 - 1 file changed, 1 deletion(-) diff --git a/spa/include/spa/utils/json.h b/spa/include/spa/utils/json.h index 617c70fab..b3e69eaa7 100644 --- a/spa/include/spa/utils/json.h +++ b/spa/include/spa/utils/json.h @@ -389,7 +389,6 @@ static inline int spa_json_encode_string(char *str, int size, const char *val) break; case '\\': case '"': - case '/': __PUT('\\'); __PUT(*val); break; default: