mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Fix parsing URL hash when no "?" was specified
This commit is contained in:
parent
363f8f3205
commit
9de3d8225b
1 changed files with 4 additions and 0 deletions
|
|
@ -1411,6 +1411,10 @@ OC.Util.History = {
|
|||
if (pos >= 0) {
|
||||
return hash.substr(pos + 1);
|
||||
}
|
||||
if (hash.length) {
|
||||
// remove hash sign
|
||||
return hash.substr(1);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue