url.php
protected function extractAbsolutePath($base)
    {
        if ($this->getHost()) {
            return $this->path;
        }
        if (! $this->isRelativePath($this->path)) {
            return $this->path;
        }
        if ($this->path) {
            return $base->getBasePath() . $this->path;
        }

        return $base->getPath();
    }
protected function extractAbsolutePath($base)
    {
        if ($this->getHost()) {
            return $this->path;
        }
        if (! $this->isRelativePath($this->path)) {
            return $this->path;
        }
        if ($this->path) {
            return $base->getBasePath() . $this->path;
        }

        return $base->getPath();
    }
Replaces unknown sections of the path with base parts to return a complete absolute one.

@param string/SimpleUrl $base       Base URL.
@param string                       Absolute path.