Skip to content

Commit 7977a1d

Browse files
committed
Escape shell words (e.g. parentheses for Array literal)
1 parent bc4fe95 commit 7977a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/serverkit/resources/defaults.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def read_raw_value
8888

8989
# @return [String]
9090
def value_in_plist
91-
Plist.generate(value)
91+
::Shellwords.shellescape(Plist.generate(value))
9292
end
9393

9494
# @return [String]

0 commit comments

Comments
 (0)