diff options
author | David Robillard <d@drobilla.net> | 2017-01-03 15:53:34 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-01-03 15:53:34 -0500 |
commit | c52a4f48e4fc945028cafb7189a8dd38d6a55abe (patch) | |
tree | cb04f31235d1e70be72878e2b93a82b9ca60e580 /src/serdi.c | |
parent | 83de3f80ca6cbbaac35c003bba9d6625db525939 (diff) | |
download | serd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.tar.gz serd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.tar.bz2 serd-c52a4f48e4fc945028cafb7189a8dd38d6a55abe.zip |
Always escape file URIs
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 2 |
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; |