Commit abf1e74
authored
Replace tabulation with \u0009 (hestiacp#2089)
Tabulators in the value field will break the list of records. This probably should be made in a more global scale, as the json_decode function in my php server (PHP Version 7.4.22, running on Debian 10.10 4.19.0-17-amd64 hestiacp#1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 ) is returning an empty value if a value contains a tabulator (in my case a user introduced a TXT record that had a leading tab character).
I have read that the json spec wants tabulations represented by \t or \u0009.1 parent 60b80ec commit abf1e74
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments