aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-01-03 15:53:34 -0500
committerDavid Robillard <d@drobilla.net>2017-01-03 15:53:34 -0500
commitc52a4f48e4fc945028cafb7189a8dd38d6a55abe (patch)
treecb04f31235d1e70be72878e2b93a82b9ca60e580
parent83de3f80ca6cbbaac35c003bba9d6625db525939 (diff)
downloadserd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.tar.gz
serd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.tar.bz2
serd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.zip
Always escape file URIs
-rw-r--r--src/serdi.c2
1 files changed, 1 insertions, 1 deletions
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;