diff --git a/index.php b/index.php index f8337d79..dbb76d3f 100644 --- a/index.php +++ b/index.php @@ -522,7 +522,8 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM // Daily page. if ($targetPage == Router::$PAGE_DAILY) { - header('Location: ./daily'); + $dayParam = !empty($_GET['day']) ? '?day=' . escape($_GET['day']) : ''; + header('Location: ./daily'. $dayParam); exit; }