Dot segments ("." and "..") are removed/collapsed and all slashes turned
into forward slashes.
php
Path::isBasePath('/webmozart', '/webmozart/css');
=> true
Path::isBasePath('/webmozart', '/webmozart');
=> true
Path::isBasePath('/webmozart', '/webmozart/..');
=> false
Path::isBasePath('/webmozart', '/puli');
=> false