aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/tree.php
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2026-02-27 14:50:39 +0100
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2026-02-27 15:35:14 +0100
commitebf0ebe0e6bf25f75f669e98cf7e887a5098987a (patch)
treeda34672501ce5e258c0fdf468e536dbb6414d0fd /app/controllers/tree.php
parentf8860fc2bd306b6eb57c541d26d220ec0b5b8cb2 (diff)
fix XSS issues with date formatting, fixes #6277
Closes #6277 Merge request studip/studip!4751
Diffstat (limited to 'app/controllers/tree.php')
-rw-r--r--app/controllers/tree.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tree.php b/app/controllers/tree.php
index 22135a5..9bde648 100644
--- a/app/controllers/tree.php
+++ b/app/controllers/tree.php
@@ -39,7 +39,7 @@ class TreeController extends AuthenticatedController
$course->veranstaltungsnummer,
$course->getFullName('type-number-name'),
$course->getTextualSemester(),
- strip_tags(implode("\n", $course->getAllDatesInSemester()->toStringArray())),
+ implode("\n", $course->getAllDatesInSemester()->toStringArray()),
implode(', ', $lecturers),
implode("\n", $studyAreaPaths)
];