XML elements to contain relative URIs. * * This is needed by Nautilus when auth is enabled. * * @param ezcWebdavPropFindResponse $response * @return ezcWebdavXmlDisplayInformation */ protected function processPropFindResponse( ezcWebdavPropFindResponse $response ) { $xmlDispInfo = parent::processPropFindResponse( $response ); $subResponses = $xmlDispInfo->body->getElementsByTagNameNS( ezcWebdavXmlTool::XML_DEFAULT_NAMESPACE, 'response' ); foreach ( $subResponses as $subResponse ) { $hrefs = $subResponse->getElementsByTagNameNS( ezcWebdavXmlTool::XML_DEFAULT_NAMESPACE, 'href' ); foreach ( $hrefs as $href ) { $href->nodeValue = parse_url( $href->nodeValue, PHP_URL_PATH ); } } return $xmlDispInfo; } } ?>