We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c1ee5 commit 79ef3d9Copy full SHA for 79ef3d9
app/code/Magento/Deploy/Package/Processor/PreProcessor/Css.php
@@ -131,7 +131,7 @@ private function isLocal(string $path): bool
131
$pattern = '{^(file://(?!//)|/(?!/)|/?[a-z]:[\\\\/]|\.\.[\\\\/]|[a-z0-9_.-]+[\\\\/])}i';
132
$result = preg_match($pattern, $path);
133
134
- return (bool) $result;
+ return is_int($result) ? (bool) $result : true;
135
}
136
137
/**
0 commit comments