]> source.dussan.org Git - nextcloud-server.git/commitdiff
add delimiter between host and baseurl
authorRobin Appelman <icewind@owncloud.com>
Mon, 7 Apr 2014 11:27:18 +0000 (13:27 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 7 Apr 2014 11:27:18 +0000 (13:27 +0200)
lib/private/route/cachingrouter.php

index 63bfd3e05390b8a7c321c06097ac4f5dd28e7d21..766c67c73a0aa19dd085cc9e473e7ce4831beb29 100644 (file)
@@ -31,7 +31,7 @@ class CachingRouter extends Router {
         * @return string
         */
        public function generate($name, $parameters = array(), $absolute = false) {
-               $key = $this->context->getHost() . $this->context->getBaseUrl() . $name . json_encode($parameters) . $absolute;
+               $key = $this->context->getHost() . '#' . $this->context->getBaseUrl() . $name . json_encode($parameters) . $absolute;
                if ($this->cache->hasKey($key)) {
                        return $this->cache->get($key);
                } else {