summaryrefslogtreecommitdiffstats
path: root/src/object/uri-references.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/uri-references.cpp')
-rw-r--r--src/object/uri-references.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp
index 69ed140e0..d3550d940 100644
--- a/src/object/uri-references.cpp
+++ b/src/object/uri-references.cpp
@@ -130,7 +130,7 @@ void URIReference::attach(const URI &uri)
// The path contains references to separate document files to load.
if (document && uri.getPath() && !skip) {
- char const *base = document->getBase();
+ char const *base = document->getDocumentBase();
auto absuri = URI::from_href_and_basedir(uri.str().c_str(), base);
std::string path;