mirror of
https://github.com/e107inc/e107.git
synced 2025-07-24 08:22:07 +02:00
Issue #4576 Added pattern validation to extended field name input to prevent possible SQL errors.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user