X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=1d0aabb8bb375ea0592ba138e2b3a0ca72a9e5c7;hb=34b570352f9a21ddbc7a0d0925828f29a38d8d04;hp=82be959455933141957f2eb12bc9f5a4a2ff987b;hpb=c0f65f6ea76ffa035cbf2c4126bedaae9d8752c8;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 82be959455..1d0aabb8bb 100644 --- a/index.php +++ b/index.php @@ -286,7 +286,6 @@ function main() // If the request is HTTP and it should be HTTPS... if ($site_ssl != 'never' && !StatusNet::isHTTPS() && common_is_sensitive($args['action'])) { common_redirect(common_local_url($args['action'], $args)); - return; } $args = array_merge($args, $_REQUEST); @@ -297,7 +296,6 @@ function main() if (!$action || !preg_match('/^[a-zA-Z0-9_-]*$/', $action)) { common_redirect(common_local_url('public')); - return; } // If the site is private, and they're not on one of the "public" @@ -324,7 +322,6 @@ function main() common_set_returnto(common_local_url($action, $rargs)); common_redirect(common_local_url('login')); - return; } $action_class = ucfirst($action).'Action';