aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/_common/_request_info.php
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2026-02-27 14:50:39 +0100
committerDavid Siegfried <david.siegfried@uni-vechta.de>2026-02-27 13:50:39 +0000
commitce679651ccf784da2e4bf57d53b57d895a4fbea3 (patch)
tree5946f87af5fcd461808285488fcfc8258afd863b /app/views/resources/_common/_request_info.php
parente752624e6621cda3e9821694d0699e2c91224746 (diff)
fix XSS issues with date formatting, fixes #6277
Closes #6277 Merge request studip/studip!4751
Diffstat (limited to 'app/views/resources/_common/_request_info.php')
-rw-r--r--app/views/resources/_common/_request_info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/resources/_common/_request_info.php b/app/views/resources/_common/_request_info.php
index 8a0c7b4..c698fad 100644
--- a/app/views/resources/_common/_request_info.php
+++ b/app/views/resources/_common/_request_info.php
@@ -5,7 +5,7 @@
?>
<dl>
<dt><?= _('Termine') ?>:</dt>
- <dd><?= $request->getDateString() ?></dd>
+ <dd><?= htmlReady($request->getDateString()) ?></dd>
<dt><?= !empty($timesrooms_page) ? _('Rüstzeit vor dem Termin') : _('Rüstzeit vor der Buchung') ?>:</dt>
<dd>
<? $preparation_time_minutes = intval($request->preparation_time / 60) ?>