1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

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

Signed-off-by: Neal Hansen <nhansen@opennebula.io>
This commit is contained in:
Neal 2023-01-19 01:11:08 -07:00 committed by GitHub
parent 61b56b0275
commit 86160b66e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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