Fix munged URLs in redirects for assets with isSecure set.

This commit is contained in:
Colin Kuskie 2019-03-14 21:09:22 +00:00 committed by colin
parent fc9cf6b5ad
commit 0aa1e4b878

View file

@ -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 ],
}