Skip to content

Commit

Permalink
Fixed inputhandler overwriting post-values
Browse files Browse the repository at this point in the history
  • Loading branch information
skipperbent committed Nov 21, 2023
1 parent 4d1cadd commit a275366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Pecee/Http/Input/InputHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public function parseInputs(): void
$this->originalPost += $post;
}
} else {
parse_str($contents, $this->originalPost);
$post = [];
parse_str($contents, $post);
$this->originalPost += $post;
}
}

Expand Down

0 comments on commit a275366

Please sign in to comment.