summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sratom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sratom.c b/src/sratom.c
index 78600a3..8c2249c 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -262,7 +262,7 @@ sratom_write(Sratom* sratom,
const uint8_t* str = USTR(body);
if (path_is_absolute((const char*)str)) {
new_node = true;
- object = serd_node_new_file_uri(str, NULL, NULL, false);
+ object = serd_node_new_file_uri(str, NULL, NULL, true);
} else {
SerdURI base_uri = SERD_URI_NULL;
if (!sratom->base_uri.buf ||
@@ -276,7 +276,7 @@ sratom_write(Sratom* sratom,
serd_uri_parse(sratom->base_uri.buf, &base_uri);
}
new_node = true;
- SerdNode rel = serd_node_new_file_uri(str, NULL, NULL, false);
+ SerdNode rel = serd_node_new_file_uri(str, NULL, NULL, true);
object = serd_node_new_uri_from_node(&rel, &base_uri, NULL);
serd_node_free(&rel);
}