diff --git a/codepot/src/codepot/controllers/code.php b/codepot/src/codepot/controllers/code.php index d3da417f..bbf64454 100644 --- a/codepot/src/codepot/controllers/code.php +++ b/codepot/src/codepot/controllers/code.php @@ -102,7 +102,7 @@ class Code extends Controller if (count($import_files) > 0 && $this->subversion->importFiles ($projectid, $path, $login['id'], $post_new_message, $import_files, $this->upload) === FALSE) { - $popup_error_message = '
' . $this->subversion->import_files_errmsg . '
'; + $popup_error_message = '
' . htmlspecialchars($this->subversion->import_files_errmsg) . '
'; } else {