I think htmlspecialchars should be used here

This commit is contained in:
Michal Čihař
2011-06-21 12:08:48 +02:00
parent cb043f4365
commit dc6c1e8b5c

View File

@@ -108,7 +108,7 @@ if ($import_type == 'table') {
}
$err_url = $goto
. '?' . $common
. (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . urlencode($table) : '');
. (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . htmlspecialchars($table) : '');
$_SESSION['Import_message']['go_back_url'] = $err_url;
}