JUri::_cleanPath
Resolves //, ../ and ./ from a path and returns the result. Eg:
/foo/bar/../boo.php => /foo/boo.php /foo/bar/../../boo.php => /boo.php /foo/bar/.././/boo.php => /foo/boo.php
Signature
protected function _cleanPath(string
$path )
Parameters
-
$path
- The URI path to clean.
Returns
- string
- Cleaned and resolved URI path.