Skip to content

Commit bfc54d5

Browse files
authored
Merge pull request #10 from vemaeg/feature/php-8.1-support-2
php 8.1 compat
2 parents 6cea5a8 + fc6ffee commit bfc54d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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)