Update main.sh - parse_object_kv_list_non_eval() fix

This commit is contained in:
myvesta 2025-04-25 14:18:44 +02:00 committed by GitHub
commit 9ec6122b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1161,8 +1161,8 @@ parse_object_kv_list_non_eval() {
# Let's combine all the parameters into one string, replace the new lines with a space
local str="${*//$'\n'/ }"
# Escape " and $
str="${str//\"/\\\"}"
str="${str//\$/\\\$}"
# str="${str//\"/\\\"}"
# str="${str//\$/\\\$}"
local key val match
# Loop until we find the next key='value'