From 1f73daa1dd55d7889c30c4b0893b541266aa460c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Apr 2023 18:28:41 -0400 Subject: Constrain relative URI references to the base URI --- src/sratom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sratom.c b/src/sratom.c index d2c18ef..447abef 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -800,7 +800,7 @@ read_node(Sratom* sratom, serd_uri_parse((const uint8_t*)str, &uri); SerdNode rel = - serd_node_new_relative_uri(&uri, &sratom->base, NULL, NULL); + serd_node_new_relative_uri(&uri, &sratom->base, &sratom->base, NULL); uint8_t* path = serd_file_uri_parse(rel.buf, NULL); if (path) { lv2_atom_forge_path( -- cgit v1.2.1