mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/11840] Fix regex
PHPBB3-11840
This commit is contained in:
@@ -203,7 +203,7 @@ class metadata_manager
|
|||||||
// Basic fields
|
// Basic fields
|
||||||
$fields = array(
|
$fields = array(
|
||||||
'name' => '#^[a-zA-Z0-9_\x7f-\xff]{2,}/[a-zA-Z0-9_\x7f-\xff]{2,}$#',
|
'name' => '#^[a-zA-Z0-9_\x7f-\xff]{2,}/[a-zA-Z0-9_\x7f-\xff]{2,}$#',
|
||||||
'type' => 'phpbb-extension',
|
'type' => '#^phpbb-extension$#',
|
||||||
'licence' => '#.+#',
|
'licence' => '#.+#',
|
||||||
'version' => '#.+#',
|
'version' => '#.+#',
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user