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 1/2] 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} ) From 183403d3775d5c0cd8b7f4e2a6a2aa77e9a7afd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Fri, 23 Aug 2019 12:58:55 +0100 Subject: [PATCH 2/2] chore: version 3.6.2 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a2adad3..6eda96ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## [3.6.2] - 2019-08-23 + +### Fixed + +* [#510](https://github.com/dadi/cdn/pull/510): ensure search parameters are used in passthrough URL + ## [3.6.1] - 2019-08-12 ### Fixed diff --git a/package.json b/package.json index 9f54614d..b98fa709 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dadi/cdn", - "version": "3.6.1", + "version": "3.6.2", "product": "DADI CDN", "description": "A high performance, just-in-time asset manipulation and delivery layer designed as a modern content distribution solution.", "scripts": {