mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-27 02:21:43 +01:00
Exclude all php:// prefixed URLs for inode chekcs
This commit is contained in:
@@ -258,7 +258,7 @@ class StreamHandler extends AbstractProcessingHandler
|
||||
|
||||
private function getInodeFromUrl(): ?int
|
||||
{
|
||||
if ($this->url === null || $this->url === 'php://memory') {
|
||||
if ($this->url === null || str_starts_with($this->url, 'php://')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user