mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -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
9bf86eaabd
commit
4bb8a3f09e
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