From 70937878913fa82763700d74bd391d7ebffcfbfa Mon Sep 17 00:00:00 2001 From: Rubens Date: Thu, 29 Aug 2024 11:25:03 -0300 Subject: [PATCH] Issue #242 - Fixed export cURL to use the character \u{27} in the data body --- netfox/Core/NFXHelper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netfox/Core/NFXHelper.swift b/netfox/Core/NFXHelper.swift index 0894a6ef..a72888f2 100644 --- a/netfox/Core/NFXHelper.swift +++ b/netfox/Core/NFXHelper.swift @@ -185,7 +185,7 @@ extension URLRequest { } if let body = String(data: getNFXBody(), encoding: .utf8) { - command.append("-d \u{22}\(body)\u{22}") + command.append("-d \u{27}\(body)\u{27}") } return command.joined(separator: " ")