Skip to content

Commit a275366

Browse files
committed
Fixed inputhandler overwriting post-values
1 parent 4d1cadd commit a275366

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Pecee/Http/Input/InputHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public function parseInputs(): void
8383
$this->originalPost += $post;
8484
}
8585
} else {
86-
parse_str($contents, $this->originalPost);
86+
$post = [];
87+
parse_str($contents, $post);
88+
$this->originalPost += $post;
8789
}
8890
}
8991

0 commit comments

Comments
 (0)