mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Fix for quote characters in user logs returned as JSON
Fix for https://bugs.vestacp.com/issues/413
This commit is contained in:
parent
d95f0010b8
commit
ae5aa156f7
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ json_list() {
|
|||
echo "{"
|
||||
for str in $logs; do
|
||||
eval $str
|
||||
CMD=${CMD//\"/\\\"}
|
||||
echo -n ' "'$ID'": {
|
||||
"CMD": "'$CMD'",
|
||||
"UNDO": "'$UNDO'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue