Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Decode URL-encoded strings
<?php rawurldecode(string $string): string
<?php                 if (false !== strpos($url, '%')) {

                    $url = rawurldecode($url);

                }



                $urls[$index] = realpath($url);
<?php             $this->process->execute('git remote -v', $output, $cwd);

            if (Preg::isMatch('{^(?:composer|origin)\s+https?://(.+):(.+)@([^/]+)}im', $output, $match) && !$this->io->hasAuthentication($match[3])) {

                $this->io->setAuthentication($match[3], rawurldecode($match[1]), rawurldecode($match[2]));

            }

        }
<?php         if (isset($proxy['user'])) {

            $auth = rawurldecode($proxy['user']);



            if (isset($proxy['pass'])) {

                $auth .= ':' . rawurldecode($proxy['pass']);
<?php             $auth = rawurldecode($proxy['user']);



            if (isset($proxy['pass'])) {

                $auth .= ':' . rawurldecode($proxy['pass']);

            }

            $auth = base64_encode($auth);
<?php         if (Preg::isMatch('{^https?://([^:/]+):([^@/]+)@([^/]+)}i', $request['url'], $match)) {

            $this->io->setAuthentication($job['origin'], rawurldecode($match[1]), rawurldecode($match[2]));

        }



        $rfs = $this->rfs;