mirror of
https://github.com/immich-app/immich.git
synced 2025-12-12 15:50:43 -08:00
fix(server): only allow absolute import paths (#13642)
fix: only allow absolute paths
This commit is contained in:
committed by
GitHub
parent
56bebd01df
commit
b411e30796
2
server/test/fixtures/library.stub.ts
vendored
2
server/test/fixtures/library.stub.ts
vendored
@@ -68,7 +68,7 @@ export const libraryStub = {
|
||||
assets: [],
|
||||
owner: userStub.admin,
|
||||
ownerId: 'user-id',
|
||||
importPaths: ['upload/thumbs', '/xyz', 'upload/library'],
|
||||
importPaths: ['upload/thumbs', 'xyz', 'upload/library'],
|
||||
createdAt: new Date('2023-01-01'),
|
||||
updatedAt: new Date('2023-01-01'),
|
||||
refreshedAt: null,
|
||||
|
||||
Reference in New Issue
Block a user