aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-util.c1
-rw-r--r--e-util/e-util.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 7a10d71b34..c6862ab8c5 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -946,6 +946,7 @@ e_strstrcase (const gchar *haystack, const gchar *needle)
return NULL;
}
+/* This only makes a filename safe for usage as a filename. It still may have shell meta-characters in it. */
void
e_filename_make_safe (gchar *string)
{
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 3df619a522..1c558f485e 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -149,6 +149,7 @@ gchar **e_strsplit (const g
gint max_tokens);
gchar *e_strstrcase (const gchar *haystack,
const gchar *needle);
+/* This only makes a filename safe for usage as a filename. It still may have shell meta-characters in it. */
void e_filename_make_safe (gchar *string);
gchar *e_format_number (gint number);
gchar *e_format_number_float (gfloat number);