Skip to content

Commit a1f6ca3

Browse files
committed
escape curl command
1 parent 6432299 commit a1f6ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/Impl/Integrations/CurlEventPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(string $sdkKey, array $options = [])
4747
$this->_path = $url['path'] ?? '';
4848

4949
if (array_key_exists('curl', $options)) {
50-
$this->_curl = $options['curl'];
50+
$this->_curl = escapeshellcmd($options['curl']);
5151
}
5252

5353
$this->_eventHeaders = Util::eventHeaders($sdkKey, $options);

0 commit comments

Comments
 (0)