summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-28 18:37:40 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-28 18:37:40 +0200
commit71dabc6c133b8fdbe26b697de6f9be0f605b6224 (patch)
tree20f0f91910bb56d704c7e4007fac150bebfee6bd /core/js/js.js
parentd68079f93210f8fe0b5327e686497db97fde6a3e (diff)
downloadnextcloud-server-71dabc6c133b8fdbe26b697de6f9be0f605b6224.tar.gz
nextcloud-server-71dabc6c133b8fdbe26b697de6f9be0f605b6224.zip
Consider both hash params and query when parsing URL
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js
index b5971bfc579..397fea8e3c5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1773,9 +1773,7 @@ OC.Util.History = {
params = OC.parseQueryString(this._decodeQuery(query));
}
// else read from query attributes
- if (!params) {
- params = OC.parseQueryString(this._decodeQuery(location.search));
- }
+ params = _.extend(params || {}, OC.parseQueryString(this._decodeQuery(location.search)));
return params || {};
},