From 67d23452025c9cb74756a649e3fdba905f3ab892 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 19 Jan 2004 20:20:33 +0000 Subject: Make uri canonical before passing it as launch argument to make vfs happy. 2004-01-19 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it. --- embed/mozilla/MozDownload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/mozilla/MozDownload.cpp') diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 003573402..38b06d064 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -331,7 +331,7 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest, mDestination->GetNativePath (aDest); - param = g_strdup (aDest.get ()); + param = gnome_vfs_make_uri_canonical (aDest.get ()); params = g_list_append (params, param); gnome_vfs_mime_application_launch (helperApp, params); g_free (param); -- cgit v1.2.3