Allow dots in filenames
parent
1cb36af66e
commit
0ab794f67b
|
@ -260,10 +260,10 @@ class H5PValidator {
|
||||||
'type' => '/^(css|js)$/',
|
'type' => '/^(css|js)$/',
|
||||||
),
|
),
|
||||||
'preloadedJs' => array(
|
'preloadedJs' => array(
|
||||||
'path' => '/^((\\\|\/)?[a-z_\-\s0-9]+)+\.js$/i',
|
'path' => '/^((\\\|\/)?[a-z_\-\s0-9\.]+)+\.js$/i',
|
||||||
),
|
),
|
||||||
'preloadedCss' => array(
|
'preloadedCss' => array(
|
||||||
'path' => '/^((\\\|\/)?[a-z_\-\s0-9]+)+\.css$/i',
|
'path' => '/^((\\\|\/)?[a-z_\-\s0-9\.]+)+\.css$/i',
|
||||||
),
|
),
|
||||||
'dropLibraryCss' => array(
|
'dropLibraryCss' => array(
|
||||||
'machineName' => '/^[\w0-9\-\.]{1,255}$/i',
|
'machineName' => '/^[\w0-9\-\.]{1,255}$/i',
|
||||||
|
|
Loading…
Reference in New Issue