From 95654a741099c465036e0205da436370b127cc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Fri, 23 Aug 2019 12:45:49 +0100 Subject: [PATCH] fix: ensure search parameters are used in passthrough URL --- dadi/lib/handlers/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dadi/lib/handlers/default.js b/dadi/lib/handlers/default.js index b9f65676..8f146fb1 100644 --- a/dadi/lib/handlers/default.js +++ b/dadi/lib/handlers/default.js @@ -50,7 +50,7 @@ DefaultHandler.prototype.get = function () { this.storageHandler = this.storageFactory.create( 'asset', - this.url.pathname.slice(1), + this.url.href.slice(1), {domain: this.req.__domain} )