We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ac7d3 commit 26beb2aCopy full SHA for 26beb2a
webapp/src/Service/DOMJudgeService.php
@@ -1568,6 +1568,9 @@ public function getScoreboardZip(
1568
$publicPath = realpath(sprintf('%s/public/', $this->projectDir));
1569
foreach ($assetMatches[1] as $file) {
1570
$filepath = realpath($publicPath . '/' . $file);
1571
+ if ($filepath === false) {
1572
+ throw new Exception("Could not find (possibly symlinked) file: " . $file . ", at: " . $publicPath);
1573
+ }
1574
if (!str_starts_with($filepath, $publicPath) &&
1575
!str_starts_with($filepath, $this->vendorDir)
1576
) {
0 commit comments