From: x2000habouzit Date: Thu, 14 Oct 2004 18:18:06 +0000 (+0000) Subject: damn subscription mail that is borked X-Git-Tag: xorg/old~1291 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=0bfd101f8cc447835f380d3b3b6e81abf5e87928;p=platal.git damn subscription mail that is borked --- diff --git a/htdocs/listes/moderate.php b/htdocs/listes/moderate.php index 776f50e..aea6285 100644 --- a/htdocs/listes/moderate.php +++ b/htdocs/listes/moderate.php @@ -18,12 +18,16 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate.php,v 1.6 2004-10-06 13:16:49 x2000habouzit Exp $ + $Id: moderate.php,v 1.7 2004-10-14 18:18:06 x2000habouzit Exp $ ***************************************************************************/ if(empty($_REQUEST['liste'])) header('Location: index.php'); $liste = $_REQUEST['liste']; +if(preg_match('!(?:[a-z0-9]+\.)?polytechnique\.org-(.*)!', $liste,$matches)) { + header('Location: ?liste='.$matches[1]); +} + require("auto.prepend.inc.php"); new_skinned_page('listes/moderate.tpl', AUTH_MDP, true); include('xml-rpc-client.inc.php');