Skip to content

Commit ef203c1

Browse files
committed
fixup! Take 1 on preview delete job
1 parent e75eb20 commit ef203c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Preview/BackgroundCleanupJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function getNewPreviewLocations(): \Iterator {
126126
return [];
127127
}
128128

129-
$like = $data['path'] . '/_/_/_/_/_/_/_/%';
129+
$like = $this->connection->escapeLikeParameter($data['path']) . '/_/_/_/_/_/_/_/%';
130130

131131
$qb = $this->connection->getQueryBuilder();
132132
$qb->select('a.name')

0 commit comments

Comments
 (0)