From 307ef00bc731ed338c2cb16fc0540f3a51033184 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 22 Feb 2013 03:30:38 +0100 Subject: [PATCH] Fix some regular expressions in the router --- public_html/rewrite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/rewrite.php b/public_html/rewrite.php index 0056a4b..343df92 100644 --- a/public_html/rewrite.php +++ b/public_html/rewrite.php @@ -31,8 +31,8 @@ $router->routes = array( "^/sign-up$" => "modules/signup.php", "^/login$" => "modules/login.php", "^/logout/([a-zA-Z0-9]+)$" => "modules/logout.php", - "^/confirm/(.+)/([a-zA-Z0-9]+)" => "modules/confirm.php", - "^/dashboard" => "modules/dashboard.php", + "^/confirm/(.+)/([a-zA-Z0-9]+)$" => "modules/confirm.php", + "^/dashboard$" => "modules/dashboard.php", "^/campaign/([a-zA-Z0-9-]+)$" => "modules/landing.php", "^/campaign/([a-zA-Z0-9-]+)/subscribe$" => "modules/subscribe.php" )