aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 44e880ca3..4b4fcb23a 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -351,7 +351,7 @@ window_cmd_file_save_as (GtkAction *action,
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
view = ephy_embed_get_web_view (embed);
- suggested_filename = get_suggested_filename (view);
+ suggested_filename = ephy_sanitize_filename (get_suggested_filename (view));
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), suggested_filename);
g_free (suggested_filename);