mirror of https://github.com/GNOME/gimp.git
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:
parent
5c51224594
commit
a3a88bf6b9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue