Stop writing file paths into TIFF DocumentNames

File paths can contain confidential information such as usernames
and directory structures, making the previous behaviour a potential
privacy and security risk.
This commit is contained in:
David Russo 2020-07-15 13:47:07 +01:00 committed by Jehan
parent 5c51224594
commit a3a88bf6b9
1 changed files with 0 additions and 2 deletions

View File

@ -989,8 +989,6 @@ save_image (GFile *file,
goto out; goto out;
} }
TIFFSetField (tif, TIFFTAG_DOCUMENTNAME, g_file_get_path (file));
if (config_comment && *config_comment) if (config_comment && *config_comment)
{ {
const gchar *c = config_comment; const gchar *c = config_comment;