stripLeadingSlashes($path); if ($path === '') { return '?zip=.'; } return sprintf('?zip=%s', $this->escape($path)); } }