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 86b4ebc457
commit d02bcfda86
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

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