mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Revert "json: also escape '/' as required by JSON"
This reverts commit eb8546a682.
We don't need to escape the / according to RFC7159
This commit is contained in:
parent
679df3f9d9
commit
2acf29a86c
1 changed files with 0 additions and 1 deletions
|
|
@ -389,7 +389,6 @@ static inline int spa_json_encode_string(char *str, int size, const char *val)
|
||||||
break;
|
break;
|
||||||
case '\\':
|
case '\\':
|
||||||
case '"':
|
case '"':
|
||||||
case '/':
|
|
||||||
__PUT('\\'); __PUT(*val);
|
__PUT('\\'); __PUT(*val);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue