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:
Arthur Schiwon 2017-06-09 13:43:09 +02:00
parent 0433c4e4cf
commit 944738c71d
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -371,7 +371,7 @@ var OCP = {},
url: path,
cache: true,
success: function (content) {
eval(content);
window.eval(content);
if(ready) {
ready();
}