Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sec(ListView) Improper Neutralization of output
  • Loading branch information
joebordes committed Nov 27, 2021
1 parent 0326b3e commit c42f09c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ListView/ListViewController.php
Expand Up @@ -572,6 +572,7 @@ function ($m) {
$nameFieldList = explode(',', $nameFields);
if (($fieldName == $focus->list_link_field || in_array($fieldName, $nameFieldList)) && $module != 'Emails') {
$opennewtab = GlobalVariable::getVariable('Application_OpenRecordInNewXOnListView', '', $module);
$value = trim(gtltTagsToHTML($value));
if ($opennewtab=='') {
$value = "<a href='index.php?module=$module&action=DetailView&record=".
"$recordId' title='".getTranslatedString($module, $module)."'>$value</a>";
Expand Down

0 comments on commit c42f09c

Please sign in to comment.