mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-11 19:50:25 -04:00
Fix XSS vulnerability in register (#3965)
This commit is contained in:
@@ -252,7 +252,7 @@ helper('url');
|
||||
echo form_input(['name' => 'description', 'class' => 'form-control input-sm', 'value' => $item['description'], 'onClick' => 'this.select();']);
|
||||
} else {
|
||||
if ($item['description'] != '') {
|
||||
echo $item['description'];
|
||||
echo esc($item['description']);
|
||||
echo form_hidden('description', $item['description']);
|
||||
} else {
|
||||
echo lang(ucfirst($controller_name) . '.no_description');
|
||||
|
||||
Reference in New Issue
Block a user