From 0aa1e4b8783d3df170a14c261e7857ec6855f042 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 14 Mar 2019 21:09:22 +0000 Subject: [PATCH] Fix munged URLs in redirects for assets with isSecure set. --- lib/WebGUI/AssetTrash.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/AssetTrash.pm b/lib/WebGUI/AssetTrash.pm index ff51ec5f9..a4ec4c8a7 100644 --- a/lib/WebGUI/AssetTrash.pm +++ b/lib/WebGUI/AssetTrash.pm @@ -445,7 +445,7 @@ sub www_delete { $self->forkWithStatusPage({ plugin => 'ProgressTree', title => 'Delete Assets', - redirect => $asset->getUrl, + redirect => $self->session->url->gateway($asset->get('url')), method => 'trashInFork', args => [ $self->getId ], }