15 "Testing $inputPath expands to $outputPath"
26 [
'/a/b/c/./../../g',
'/a/g' ],
27 [
'mid/content=5/../6',
'mid/6' ],
28 [
'/a//../b',
'/a/b' ],
29 [
'/.../a',
'/.../a' ],
67 [
'b/../../a',
'/a' ],
79 [
'/b/../../a',
'/a' ],
80 [
'/b/.././a',
'/a' ],
81 [
'/b/./../a',
'/a' ],
82 [
'/b/././a',
'/b/a' ],
wfRemoveDotSegments( $urlPath)
Remove all dot-segments in the provided URL path.
GlobalFunctions wfRemoveDotSegments.
testWfRemoveDotSegments( $inputPath, $outputPath)
providePaths
static providePaths()
Provider of URL paths for testing wfRemoveDotSegments()