From 5a008c37389dfdfc64f17eed8d0b259d3b5aaed6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 27 Aug 2016 15:06:12 +0200 Subject: [PATCH] Don't redirect to tag cloud on /tag URL (this is probably just while we pluginify TagCloud) --- actions/tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/tag.php b/actions/tag.php index 751e8dcec5..ccd2c7fbe0 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -34,7 +34,7 @@ class TagAction extends ManagedAction $this->tag = common_canonical_tag($taginput); if (empty($this->tag)) { - common_redirect(common_local_url('publictagcloud'), 301); + throw new ClientException(_('No valid tag data.')); } // after common_canonical_tag we have a lowercase, no-specials tag string