1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Issue #4576 Added pattern validation to extended field name input to prevent possible SQL errors.

This commit is contained in:
Cameron 2021-11-26 09:46:18 -08:00
parent 9d6a9611e2
commit 0830d730f6

View File

@ -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;