We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1379f commit bf445dbCopy full SHA for bf445db
public_html/lists/admin/import2.php
@@ -222,7 +222,7 @@
222
// var_dump($system_attributes);
223
$system_attribute_reverse_map = array();
224
for ($i = 0; $i < count($headers); ++$i) {
225
- $column = clean($headers[$i]);
+ $column = strip_tags($headers[$i]);
226
// print $i."<h3>$column</h3>".$_POST['column'.$i].'<br/>';
227
$column = preg_replace('#/#', '', $column);
228
// $dbg = "Field $i: $headers[$i] - $column - form/option:" . $_POST['column' . $i];
@@ -383,6 +383,7 @@
383
}
384
foreach ($_SESSION['import_attribute'] as $column => $rec) {
385
if (trim($column) != '') {
386
+ $column = htmlspecialchars($column);
387
$ls->addElement($column);
388
if ($rec['record'] == 'new') {
389
$ls->addColumn($column, $GLOBALS['I18N']->get('maps to'),
0 commit comments