Skip to content

Commit

Permalink
Fix base conversion characters
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Mar 2, 2020
1 parent b8b52f4 commit cf727c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function handleRequest(Request $request): Response
//Remove the hash from the URL
$compareHashWithBits = array_shift($pathParts);
[$compareHash, $bits] = explode('-', $compareHashWithBits . '-', 2);
$this->_bits = base_convert(trim($bits, ';'), 36, 10);
$this->_bits = base_convert(trim($bits, ';-/'), 36, 10);

$requestPath = Path::custom('/', $pathParts);
$fullPath = $manager->getFilePath($requestPath);
Expand Down

0 comments on commit cf727c5

Please sign in to comment.