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
This commit is contained in:
Mike Kestner
2003-05-31 17:21:23 +00:00
committed by Mike Kestner
parent 34fe6da86b
commit f0a3dbe3e7

View File

@ -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 = '_';
}
}