MTrack/SCM/Git/WorkingCopy.php
[web.mtrack] / MTrack / SCM / Git / WorkingCopy.php
index b2d671b..a7102b0 100644 (file)
@@ -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 ,