mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
execute eval in global scope, addresses #5314
unsure whether this is properly supported everywhere, injection is not an option for us Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
0433c4e4cf
commit
944738c71d
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ var OCP = {},
|
|||
url: path,
|
||||
cache: true,
|
||||
success: function (content) {
|
||||
eval(content);
|
||||
window.eval(content);
|
||||
if(ready) {
|
||||
ready();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue