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/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} ) 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": {