Skip to content

Commit 7f78c3d

Browse files
committed
Updating quotes to use escapeshellarg
1 parent 7f97094 commit 7f78c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Git.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public function add_tag($tag, $message = null) {
571571
if ($message === null) {
572572
$message = $tag;
573573
}
574-
return $this->run("tag -a $tag -m '$message'");
574+
return $this->run("tag -a $tag -m " . escapeshellarg($message));
575575
}
576576

577577
/**

0 commit comments

Comments
 (0)