summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/sratom.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5c4a8e1..e4f3a3c 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,9 @@ sratom (0.6.15) unstable; urgency=medium
* Fix dependencies in pkg-config file
* Override pkg-config dependency within meson
* Replace duplicated dox_to_sphinx script with sphinxygen dependency
+ * Constrain relative URI references to the base URI
- -- David Robillard <d@drobilla.net> Sun, 04 Dec 2022 23:04:12 +0000
+ -- David Robillard <d@drobilla.net> Sun, 30 Apr 2023 22:28:21 +0000
sratom (0.6.14) stable; urgency=medium
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(