From 633d058cf776e28bb0ce0505e58b0be348674be4 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 578d1855..76e1c476 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