[ticket/11840] Fix regex

PHPBB3-11840
This commit is contained in:
Nathan Guse 2013-09-30 21:18:20 -05:00
parent fd022123c0
commit e905a46b8c

View file

@ -203,7 +203,7 @@ class metadata_manager
// Basic fields
$fields = array(
'name' => '#^[a-zA-Z0-9_\x7f-\xff]{2,}/[a-zA-Z0-9_\x7f-\xff]{2,}$#',
'type' => 'phpbb-extension',
'type' => '#^phpbb-extension$#',
'licence' => '#.+#',
'version' => '#.+#',
);