Commit 418b722b authored by alexpott's avatar alexpott
Browse files

Issue #2277281 by dobe, amitgoyal, michaelfavia | drumm: Sometimes you want...

Issue #2277281 by dobe, amitgoyal, michaelfavia | drumm: Sometimes you want more than 128 chars of allowed file extensions.
parent 00afbccd
......@@ -170,6 +170,7 @@ public function instanceSettingsForm(array $form, array &$form_state) {
'#description' => t('Separate extensions with a space or comma and do not include the leading dot.'),
'#element_validate' => array(array(get_class($this), 'validateExtensions')),
'#weight' => 1,
'#maxlength' => 256,
// By making this field required, we prevent a potential security issue
// that would allow files of any type to be uploaded.
'#required' => TRUE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment