aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-06-01 01:21:23 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-06-01 01:21:23 +0800
commitf0a3dbe3e721063144d78ddf5bbaba1a978a2191 (patch)
treeb178e65b2e12a31431e2d145c0b2ba230dd032d3 /e-util/e-util.c
parent34fe6da86b005bdea13287bc30171ec4d9a9a716 (diff)
downloadgsoc2013-evolution-f0a3dbe3e721063144d78ddf5bbaba1a978a2191.tar.gz
gsoc2013-evolution-f0a3dbe3e721063144d78ddf5bbaba1a978a2191.tar.zst
gsoc2013-evolution-f0a3dbe3e721063144d78ddf5bbaba1a978a2191.zip
mangle the %'s out too so that libxml2 doesn't convert the encoded hex
2003-05-31 Mike Kestner <mkestner@ximian.com> * 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
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c2
1 files changed, 1 insertions, 1 deletions
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 = '_';
}
}