summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c
index 7b96669a4..b16124369 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1860,6 +1860,8 @@ bool plugin_decode(struct content* content, char* url, struct box* box,
if(pp != 0)
url = url_join(pp->value, po->basehref);
else return false;
+ /* munge the codebase */
+ po->codebase = url_join("./", content->url);
}
else {
LOG(("ActiveX object - n0"));