Skip to content

Commit fc6ffee

Browse files
committed
php 8.1 compat
1 parent 1fb5720 commit fc6ffee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: lib/request/sfWebRequest.class.php

+7
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,13 @@ static public function convertFileInformation(array $taintedFiles)
873873
static protected function fixPhpFilesArray(array $data)
874874
{
875875
$fileKeys = array('error', 'name', 'size', 'tmp_name', 'type');
876+
877+
// Im "offiziellen" Repo wird derzeit versucht, full_path durchzuschleifen... In unsrem Fall schmeissen wir
878+
// es einfach mal weg, damit der Rest klappt.
879+
if (isset($data['full_path'])) {
880+
unset($data['full_path']);
881+
}
882+
876883
$keys = array_keys($data);
877884
sort($keys);
878885

0 commit comments

Comments
 (0)