summaryrefslogtreecommitdiffstats
path: root/src/sordi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-01-03 15:54:15 -0500
committerDavid Robillard <d@drobilla.net>2017-01-03 15:54:15 -0500
commitf522cedd1402019a3b61dac2ddb85e1a4ba4a759 (patch)
tree6ba07166615fde16e5a878569990362ad58d7a41 /src/sordi.c
parentf306bd871455b5eb27498e712ef605243df357d0 (diff)
downloadsord-f522cedd1402019a3b61dac2ddb85e1a4ba4a759.tar.gz
sord-f522cedd1402019a3b61dac2ddb85e1a4ba4a759.tar.bz2
sord-f522cedd1402019a3b61dac2ddb85e1a4ba4a759.zip
Always escape file URIs
Diffstat (limited to 'src/sordi.c')
-rw-r--r--src/sordi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 8ddbfb4..46e6273 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -149,7 +149,7 @@ main(int argc, char** argv)
base = serd_node_new_uri_from_string(
(const uint8_t*)argv[a], NULL, &base_uri);
} else if (from_file && in_fd != stdin) { // Use input file URI
- base = serd_node_new_file_uri(input, NULL, &base_uri, false);
+ base = serd_node_new_file_uri(input, NULL, &base_uri, true);
}
SordWorld* world = sord_world_new();