From ccb7d738d37fb21245a563cd41727f2609f0bc07 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 May 2015 09:12:44 +0000 Subject: Use ingen:/ as base URI on the wire. This allows referring to non-graph items, which are converted to bundle-relative URIs on save, resolving issue #1049. Change root graph URI to ingen:/graph. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 92d3b3ec..14009163 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -48,7 +48,7 @@ Copy::pre_process() { if (_old_path.empty() || !Node::uri_is_path(_new_uri) || - _new_uri == Node::root_uri()) { + _new_uri == Node::root_graph_uri()) { return Event::pre_process_done(Status::BAD_REQUEST); } -- cgit v1.2.1