Compare commits
No commits in common. "8d490e48aaeb7ad2843e402fa42ec266db52e809" and "bda12177ebc201f04fdad5493b93039676a983ca" have entirely different histories.
8d490e48aa
...
bda12177eb
@ -139,7 +139,7 @@ class Linker
|
||||
{
|
||||
$output = [];
|
||||
|
||||
if (preg_match('/^http(s)?/', $asset) !== 1) {
|
||||
if (preg_match('/^[\w\/\.]+$/', $asset) === 1) {
|
||||
if (
|
||||
empty($_ENV['DEV']) &&
|
||||
filesize(ROOT . '/public/static/' . $asset) < self::INLINE_ASSET_LIMIT
|
||||
|
Loading…
Reference in New Issue
Block a user