mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 17:23:16 +03:00
fix: exif gps parsing of malformed data (#23551)
* fix: exif gps parsing of malformed data * chore: e2e test
This commit is contained in:
@@ -1140,6 +1140,16 @@ describe('/asset', () => {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
input: 'metadata/gps-position/empty_gps.jpg',
|
||||
expected: {
|
||||
type: AssetTypeEnum.Image,
|
||||
exifInfo: {
|
||||
latitude: null,
|
||||
longitude: null,
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
it.each(tests)(`should upload and generate a thumbnail for different file types`, async ({ input, expected }) => {
|
||||
|
||||
Reference in New Issue
Block a user