Commit a3a88bf6 authored by David A. Russo's avatar David A. Russo Committed by Jehan

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.
parent 5c512245
Pipeline #199048 passed with stages
in 27 minutes and 53 seconds
......@@ -989,8 +989,6 @@ save_image (GFile *file,
goto out;
}
TIFFSetField (tif, TIFFTAG_DOCUMENTNAME, g_file_get_path (file));
if (config_comment && *config_comment)
{
const gchar *c = config_comment;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment