summaryrefslogtreecommitdiffstats
path: root/lib/private/route
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-07 13:27:18 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-07 13:27:18 +0200
commit51fbf0bcbc2c3c68f7b4b36128304f4ab9df98e7 (patch)
treeceb87f16ca1a32eb343df51e14574146fe42b152 /lib/private/route
parent84285011cec209db4045e832ef03b96c7f07c1c2 (diff)
downloadnextcloud-server-51fbf0bcbc2c3c68f7b4b36128304f4ab9df98e7.tar.gz
nextcloud-server-51fbf0bcbc2c3c68f7b4b36128304f4ab9df98e7.zip
add delimiter between host and baseurl
Diffstat (limited to 'lib/private/route')
-rw-r--r--lib/private/route/cachingrouter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/cachingrouter.php b/lib/private/route/cachingrouter.php
index 63bfd3e0539..766c67c73a0 100644
--- a/lib/private/route/cachingrouter.php
+++ b/lib/private/route/cachingrouter.php
@@ -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 {