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-12 23:37:20 +0200 |
commit | d02bcfda86495d2a8e9537c46dbef23c3a040b13 (patch) | |
tree | 093664f340bfc28bce1a23c7145ead35307255b2 /core | |
parent | 86b4ebc45790eb1d8c5da0748600500b9ba35687 (diff) | |
download | nextcloud-server-d02bcfda86495d2a8e9537c46dbef23c3a040b13.tar.gz nextcloud-server-d02bcfda86495d2a8e9537c46dbef23c3a040b13.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 0a14acd4b6c..ffbe438dc9a 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(); } |