Skip to content

Commit

Permalink
Merge pull request #27 from gngn23/master
Browse files Browse the repository at this point in the history
Summary tab: Escape with htmlspecialchars().
  • Loading branch information
bjendres authored Sep 21, 2024
2 parents 1df5a19 + ab8ba81 commit cec17fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Gdprx/Page/SummaryTab.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ public function run() {
'record_source' => $data->record_source,
'record_type' => $data->record_type,
'record_terms_name' => $data->record_terms_name,
'record_terms_full' => $data->record_terms_full,
'record_terms_full' => htmlspecialchars($data->record_terms_full),
'record_terms_id' => $data->record_terms_id,
'record_note_short' => mb_strlen($data->record_note) > 16 ? (substr($data->record_note, 0, 13) . '...') : $data->record_note,
'record_note' => $data->record_note,
'record_note' => htmlspecialchars($data->record_note),
);
}

Expand Down

0 comments on commit cec17fe

Please sign in to comment.