Code

fixing export to ocal uri
authorbdilly <bdilly@users.sourceforge.net>
Fri, 17 Aug 2007 04:32:01 +0000 (04:32 +0000)
committerbdilly <bdilly@users.sourceforge.net>
Fri, 17 Aug 2007 04:32:01 +0000 (04:32 +0000)
src/file.cpp

index 95dc9d07f746ded7a3364ac6a4b5a970af7211b1..2b006c3b325b12b5d9a89e78828b4fb598ca30bb 100644 (file)
@@ -1268,6 +1268,7 @@ sp_file_export_to_ocal_dialog(Gtk::Window &parentWindow)
         uri.append("@");
     } 
     uri.append(prefs_get_string_attribute("options.ocalurl", "str"));
+    uri.append("/dav.php/");
     uri.append(Glib::path_get_basename(fileName));
     // Save as a remote file using the dav protocol.
     success = file_save_remote(doc, uri, selectionType, FALSE, FALSE);