mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
SCA with Php Inspections (EA Ultimate)
This commit is contained in:
@@ -219,7 +219,7 @@ class MultipartFormDataParser extends BaseObject implements RequestParserInterfa
|
||||
$headers = [];
|
||||
$headerParts = preg_split('/\\R/s', $headerContent, -1, PREG_SPLIT_NO_EMPTY);
|
||||
foreach ($headerParts as $headerPart) {
|
||||
if (($separatorPos = strpos($headerPart, ':')) === false) {
|
||||
if (strpos($headerPart, ':') === false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user