Skip to content

Commit 89df7cf

Browse files
authored
Merge pull request #1415 from nextcloud/backport/1414/stable10
[stable10] fix: Don't leak global functions in php scoper
2 parents 89a573f + f116835 commit 89df7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scoper.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ static function (string $filePath, string $prefix, string $content): string {
3535
return $content;
3636
},
3737
],
38+
'expose-global-functions' => false,
3839
];

0 commit comments

Comments
 (0)