--- gvfs-1.2.2/client/gdaemonvfs.c.orig	Tue Jul 21 14:43:55 2009
+++ gvfs-1.2.2/client/gdaemonvfs.c	Tue Jul 21 16:23:43 2009
@@ -505,8 +505,16 @@
     {
       GVfsUriMountInfo info;
       info.keys = spec->items;
-      info.path = path;
+      if ( spec->mount_prefix && spec->mount_prefix[0] != '\0') {
+         if (path[strlen(path)-1] == '/' && spec->mount_prefix[0] == '/') 
+             info.path = g_strconcat (path, spec->mount_prefix+1, NULL);
+         else
+             info.path = g_strconcat (path, spec->mount_prefix, NULL);
+      }
+      else
+         info.path = g_strdup (path);
       uri = g_vfs_uri_mapper_to_uri (mapper, &info, allow_utf8);
+      g_free (info.path);
     }
 
   if (uri == NULL)
