Fixes the changelog processor not escaping usernames. (#17486)

This commit is contained in:
Kyle Spier-Swenson
2016-05-11 15:54:21 -07:00
committed by KorPhaeron
parent 58319051dd
commit 49e78d7d04
+1 -1
View File
@@ -250,7 +250,7 @@ function checkchangelog($payload, $merge = false) {
if (!count($changelogbody))
return;
$file = 'author: '.$username."\n";
$file = 'author: '.trim(str_replace(array("\\", '"'), array("\\\\", "\\\""), $username))."\n";
$file .= "delete-after: True\n";
$file .= "changes: \n";
foreach ($changelogbody as $changelogitem) {