Skip to content

Commit

Permalink
Rfc3986 decoder fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bderleta committed Oct 17, 2024
1 parent 325b7f5 commit 532bc36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Struct/Rfc3986.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public function unpack(string $data) {
/* The application/x-www-form-urlencoded parser takes a byte sequence input, and then runs these steps: */
$input = parent::unpack($data);
/* 1. Let output be an initially empty list of name-value tuples where both name and value hold a string. */
/* @internal we do not expect duplicate keys nor we need them */
$output = [];
/* 2. Let sequences be the result of splitting input on 0x26 (&). */
$sequences = explode('&', $input);
Expand Down

0 comments on commit 532bc36

Please sign in to comment.