1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

B #-: Fixing bug with nested quotation marks when restoring backup (#2454)

Signed-off-by: Neal Hansen <nhansen@opennebula.io>
(cherry picked from commit 86160b66e77d53b7bb7543e355acbee8b1062e57)
This commit is contained in:
Neal 2023-01-19 01:11:08 -07:00 committed by Ruben S. Montero
parent b79beea1df
commit 365d3d1082
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -279,7 +279,7 @@ module TransferManager
end
def attr_to_s(attr)
attr.gsub!('"', '"')
attr.gsub!('"', '\"')
"\"#{attr}\""
end