From 4d179c6b0ce1b567c3e6f77e1db845c621cd2bf0 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 6 Jan 2016 20:06:14 +0100 Subject: [PATCH] Our URLs are permanent redirects, mind you! --- actions/redirecturl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/redirecturl.php b/actions/redirecturl.php index db3784bf31..826ab66a67 100644 --- a/actions/redirecturl.php +++ b/actions/redirecturl.php @@ -56,7 +56,7 @@ class RedirecturlAction extends ManagedAction public function showPage() { - common_redirect($this->file->url, 307); + common_redirect($this->file->getUrl(false), 301); } function isReadOnly($args) -- 2.39.5