Skip to content

Commit 69034d0

Browse files
committed
Wrap option string values in quotes when displaying diagnostic output
1 parent 35e14e3 commit 69034d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Curl/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ public function displayCurlOptionValue($option, $value)
17011701
}
17021702

17031703
if (is_string($value)) {
1704-
echo ' ' . $value . "\n";
1704+
echo ' "' . $value . '"' . "\n";
17051705
} elseif (is_int($value)) {
17061706
echo ' ' . $value;
17071707

0 commit comments

Comments
 (0)