mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Restrict additional dangerous functions in Security.php
This commit is contained in:
@ -32,6 +32,10 @@ final class Security extends AbstractPreset
|
|||||||
'create_function',
|
'create_function',
|
||||||
'unserialize',
|
'unserialize',
|
||||||
'extract',
|
'extract',
|
||||||
|
'parse_str',
|
||||||
|
'mb_parse_str',
|
||||||
|
'dl',
|
||||||
|
'assert',
|
||||||
])->not->toBeUsed();
|
])->not->toBeUsed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user