From 426ac22e127b21a4598364f89c6f2eb712ed1f2e Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Sun, 28 Dec 2014 09:26:30 +0100 Subject: Redirect to login page on failed login. Fixes #628 --- include/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/auth.php b/include/auth.php index 545fbe8c9..c4bbaf546 100644 --- a/include/auth.php +++ b/include/auth.php @@ -283,7 +283,7 @@ else { @file_put_contents($authlog, datetime_convert() . ':' . session_id() . ' ' . $error . "\n", FILE_APPEND); notice( t('Login failed.') . EOL ); - goaway(z_root()); + goaway(z_root() . '/login'); } // If the user specified to remember the authentication, then change the cookie -- cgit v1.2.3 From f08ee3bab9810ce4dd8386ef6a08baf15ee1aded Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Sun, 28 Dec 2014 11:22:58 +0100 Subject: Make spaces work in [audio] and [video]. Fixes #774 --- include/bbcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/bbcode.php b/include/bbcode.php index 9445eb007..dbb0187f8 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -22,7 +22,7 @@ function tryzrlaudio($match) { $zrl = is_matrix_url($link); if($zrl) $link = zid($link); - return ''; + return ''; } function tryzrlvideo($match) { @@ -30,7 +30,7 @@ function tryzrlvideo($match) { $zrl = is_matrix_url($link); if($zrl) $link = zid($link); - return ''; + return ''; } -- cgit v1.2.3 From fffc7dffbac6a335afb175525313069e0b21a388 Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Sun, 28 Dec 2014 11:28:54 +0100 Subject: Fix typo --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/bbcode.php b/include/bbcode.php index dbb0187f8..ab56bda61 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -30,7 +30,7 @@ function tryzrlvideo($match) { $zrl = is_matrix_url($link); if($zrl) $link = zid($link); - return ''; + return ''; } -- cgit v1.2.3