Commit 430e60a8 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.

(cherry picked from commit a3a88bf6)
parent 4d0db020
Pipeline #199050 passed with stages
in 21 minutes
......@@ -973,8 +973,6 @@ save_image (GFile *file,
goto out;
}
TIFFSetField (tif, TIFFTAG_DOCUMENTNAME, g_file_get_path (file));
/* The TIFF spec explicitly says ASCII for the image description. */
if (image_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