From c52a4f48e4fc945028cafb7189a8dd38d6a55abe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 Jan 2017 15:53:34 -0500 Subject: Always escape file URIs --- src/serdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serdi.c') diff --git a/src/serdi.c b/src/serdi.c index 785cefcb..953a3c0c 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -191,7 +191,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); } FILE* out_fd = stdout; -- cgit v1.2.1