diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-09 13:43:09 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-09 13:43:09 +0200 |
commit | 944738c71d0b47b26223251f942e06045ae6286e (patch) | |
tree | d89fa511f5eefdc93d76d37ffb8d9cac2c224b75 /core | |
parent | 0433c4e4cf92b80fbfabcf0847e6e7c55a854499 (diff) | |
download | nextcloud-server-944738c71d0b47b26223251f942e06045ae6286e.tar.gz nextcloud-server-944738c71d0b47b26223251f942e06045ae6286e.zip |
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>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 80c62e70116..ee4b03dd99d 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -371,7 +371,7 @@ var OCP = {}, url: path, cache: true, success: function (content) { - eval(content); + window.eval(content); if(ready) { ready(); } |