aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-09 13:43:09 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-09 13:43:09 +0200
commit944738c71d0b47b26223251f942e06045ae6286e (patch)
treed89fa511f5eefdc93d76d37ffb8d9cac2c224b75 /core
parent0433c4e4cf92b80fbfabcf0847e6e7c55a854499 (diff)
downloadnextcloud-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.js2
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();
}