summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/element/fetch/FetchElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/element/fetch/FetchElement.cpp')
-rw-r--r--src/uscxml/plugins/element/fetch/FetchElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/element/fetch/FetchElement.cpp b/src/uscxml/plugins/element/fetch/FetchElement.cpp
index 9f97ca9..c042802 100644
--- a/src/uscxml/plugins/element/fetch/FetchElement.cpp
+++ b/src/uscxml/plugins/element/fetch/FetchElement.cpp
@@ -112,7 +112,7 @@ void FetchElement::enterElement(const Arabica::DOM::Element<std::string>& node)
_targetUrl = URL(_target);
if (!_targetUrl.isAbsolute()) {
- if (!_targetUrl.toAbsolute(_interpreter->getBaseURI())) {
+ if (!_targetUrl.toAbsolute(_interpreter->getBaseURL(node))) {
LOG(ERROR) << "Cannot transform " << _target << " into absolute URL";
return;
}