GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit f8d13817 authored by Adrian Lang's avatar Adrian Lang

Corrected redirect targets for some group actions. These redirects can occur...

Corrected redirect targets for some group actions. These redirects can occur when the canonical name differs from the passed name.
parent 60f737dc
......@@ -83,7 +83,7 @@ class GrouplogoAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
common_redirect(common_local_url('editgroup', $args), 301);
common_redirect(common_local_url('grouplogo', $args), 301);
return false;
}
......
......@@ -73,7 +73,7 @@ class JoingroupAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
common_redirect(common_local_url('editgroup', $args), 301);
common_redirect(common_local_url('joingroup', $args), 301);
return false;
}
......
......@@ -73,7 +73,7 @@ class LeavegroupAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
common_redirect(common_local_url('editgroup', $args), 301);
common_redirect(common_local_url('leavegroup', $args), 301);
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment