SCA with Php Inspections (EA Ultimate)

This commit is contained in:
Vladimir Reznichenko
2018-02-27 19:06:27 +01:00
parent 7c4474132e
commit f9b03dfd42
6 changed files with 7 additions and 7 deletions

View File

@@ -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;
}