3
1
Back

} extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; } /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re.

New Pull Request