From 6fcf2dce8d519b4fee2b7b891e3710061cca981c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 Jun 2018 17:11:13 -0400 Subject: Remove escape parameter from serd_new_file_uri Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. --- 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 d8d8437f..0c304d01 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -199,7 +199,7 @@ main(int argc, char** argv) if (a < argc) { // Base URI given on command line base = serd_new_uri((const char*)argv[a]); } else if (!from_string && !from_stdin) { // Use input file URI - base = serd_new_file_uri(input, NULL, true); + base = serd_new_file_uri(input, NULL); } FILE* out_fd = stdout; -- cgit v1.2.1