mirror of
https://github.com/friendica/friendica
synced 2025-04-22 15:50:10 +00:00
Transmit encoding, deactivated file test
This commit is contained in:
parent
7b49117801
commit
ca5fd01f75
2 changed files with 4 additions and 2 deletions
|
@ -135,7 +135,7 @@ class HTTPInputData
|
|||
$files[$name] = self::fetchFileData($stream, $boundary, $headers, $filename);
|
||||
return ['variables' => $variables, 'files' => $files];
|
||||
} else {
|
||||
$variables = self::fetchVariables($stream, $boundary, $name, $variables);
|
||||
$variables = self::fetchVariables($stream, $boundary, $headers, $name, $variables);
|
||||
}
|
||||
|
||||
return ['variables' => $variables, 'files' => $files];
|
||||
|
@ -186,7 +186,7 @@ class HTTPInputData
|
|||
];
|
||||
}
|
||||
|
||||
private static function fetchVariables($stream, string $boundary, string $name, array $variables)
|
||||
private static function fetchVariables($stream, string $boundary, array $headers, string $name, array $variables)
|
||||
{
|
||||
$fullValue = '';
|
||||
$lastLine = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue