aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-download.c')
-rw-r--r--embed/ephy-download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 158702bc3..dc19b4589 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -305,7 +305,7 @@ define_destination_uri (EphyDownload *download, const char *suggested_filename)
}
if (suggested_filename != NULL) {
- dest_name = g_strdup (suggested_filename);
+ dest_name = ephy_sanitize_filename (g_strdup (suggested_filename));
} else {
dest_name = ephy_file_tmp_filename ("ephy-download-XXXXXX", NULL);
}