This reverts commit 6e3cfb5fea364d726ab3a44876fc09327cd4d97c.
@@ -80,7 +80,7 @@ class GitDriver extends VcsDriver
$this->getTags();
$this->getBranches();
- $this->cache = new Cache($this->io, $this->config->get('cache-repo-dir').'/'.$this->url);
+ $this->cache = new Cache($this->io, $this->config->get('cache-repo-dir').'/'.preg_replace('{[^a-z0-9.]}i', '-', $this->url));
}
/**