From df74e81bca158381807f85a90cea00cc10b30f3a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Sep 2011 17:44:04 +0800 Subject: [PATCH] MTrack/SCM/Git/WorkingCopy.php --- MTrack/SCM/Git/WorkingCopy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MTrack/SCM/Git/WorkingCopy.php b/MTrack/SCM/Git/WorkingCopy.php index b2d671bd..a7102b07 100644 --- a/MTrack/SCM/Git/WorkingCopy.php +++ b/MTrack/SCM/Git/WorkingCopy.php @@ -78,8 +78,8 @@ class MTrack_SCM_Git_WorkingCopy extends MTrack_SCM_WorkingCopy $reason = 'Changed'; } print_R($CS);exit; - echo implode(" ", array('commit', '-a', '-m', $reason , - '--author="' . $CS->name . ' <'. $CS->email . '>"' ));exit; + echo htmlspecialchars(implode(" ", array('commit', '-a', '-m', $reason , + '--author="' . $CS->name . ' <'. $CS->email . '>"' )));exit; exit; return stream_get_contents( $this->git('commit', '-a', '-m', $reason , -- 2.39.2