mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Issue #4576 Added pattern validation to extended field name input to prevent possible SQL errors.
This commit is contained in:
parent
9d6a9611e2
commit
0830d730f6
@ -929,8 +929,8 @@ e107::js('footer-inline', js());
|
||||
$field = [];
|
||||
$field['type'] = 'text';
|
||||
$field['writeParms'] = $att;
|
||||
|
||||
|
||||
$field['pattern'] = '[0-9a-z_]*';
|
||||
|
||||
return $this->renderElement('user_extended_struct_name', $curVal, $field);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user