X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Flistes_redirect.php;h=e92260d05565107bc5b8748c2746e521879bcded;hb=d2e13f2961c467a86acfe66338a0685eabb63337;hp=739c58dbe6fa62f45d74639c3e89626151d80ba3;hpb=a7c29df3b9bf8f3c3b23fec0f1d2feb814cb61fe;p=platal.git diff --git a/htdocs/listes_redirect.php b/htdocs/listes_redirect.php index 739c58d..e92260d 100644 --- a/htdocs/listes_redirect.php +++ b/htdocs/listes_redirect.php @@ -20,6 +20,7 @@ ***************************************************************************/ require_once dirname(__FILE__).'/../include/xorg.inc.php'; +$platal = new Xorg(); preg_match('!^/(moderate|admin|members|archives)/(.*)_([^_]*)(/.*)?$!', $_SERVER['REQUEST_URI'], $matches); @@ -28,7 +29,7 @@ if ($matches) { $action = $matches[1]; $mbox = $matches[2]; $fqdn = strtolower($matches[3]); - $sup = $matches[4]; + $sup = @$matches[4]; if ($fqdn == 'polytechnique.org') { http_redirect("https://www.polytechnique.org/lists/$action/$mbox$sup");