From f0a3dbe3e721063144d78ddf5bbaba1a978a2191 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Sat, 31 May 2003 17:21:23 +0000 Subject: mangle the %'s out too so that libxml2 doesn't convert the encoded hex 2003-05-31 Mike Kestner * gal/util/e-util.c (e_filename_make_safe): mangle the %'s out too so that libxml2 doesn't convert the encoded hex values. svn path=/trunk/; revision=21358 --- e-util/e-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e-util/e-util.c b/e-util/e-util.c index 03fda380e1..6f528d57ce 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -423,7 +423,7 @@ e_filename_make_safe (gchar *string) g_return_if_fail (string != NULL); for (p = string; *p; p++) { - if (!isprint ((unsigned char)*p) || strchr (" /'\"`&();|<>${}!", *p)) + if (!isprint ((unsigned char)*p) || strchr (" /'\"`&();|<>$%{}!", *p)) *p = '_'; } } -- cgit v1.2.3