Browse Source

Revert "json: also escape '/' as required by JSON"

This reverts commit eb8546a682.

We don't need to escape the / according to  RFC7159
lines
Wim Taymans 1 year ago
parent
commit
2acf29a86c
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      spa/include/spa/utils/json.h

+ 0
- 1
spa/include/spa/utils/json.h View File

@ -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:


Loading…
Cancel
Save