diff options
author | David Robillard <d@drobilla.net> | 2023-04-30 18:28:41 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-01 13:15:50 -0400 |
commit | 1f73daa1dd55d7889c30c4b0893b541266aa460c (patch) | |
tree | 5d9bfb00dcea42ed395db5bba6f648ed35051543 | |
parent | ed6ae993e3889e2243cb0387e5d53398b118749d (diff) | |
download | sratom-1f73daa1dd55d7889c30c4b0893b541266aa460c.tar.gz sratom-1f73daa1dd55d7889c30c4b0893b541266aa460c.tar.bz2 sratom-1f73daa1dd55d7889c30c4b0893b541266aa460c.zip |
Constrain relative URI references to the base URI
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/sratom.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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( |