diff options
author | David Robillard <d@drobilla.net> | 2018-06-13 17:11:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:21 -0500 |
commit | 633d058cf776e28bb0ce0505e58b0be348674be4 (patch) | |
tree | c75719d5236fbdd032f0242167b5883980ec51e6 /src/serdi.c | |
parent | 6aabd3c6c7ef77009e7b9e5c8b01c3759730dc7a (diff) | |
download | serd-633d058cf776e28bb0ce0505e58b0be348674be4.tar.gz serd-633d058cf776e28bb0ce0505e58b0be348674be4.tar.bz2 serd-633d058cf776e28bb0ce0505e58b0be348674be4.zip |
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.
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 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; |