From 4bc7869c847f20420a8e82e47b462307d640ffcd Mon Sep 17 00:00:00 2001 From: markjaquith Date: Tue, 11 Sep 2007 21:21:40 +0000 Subject: [PATCH] Always trailingslash the "home" URL. Protect against chained redirects. Thanks wantmoore. fixes #4773 git-svn-id: http://svn.automattic.com/wordpress/trunk@6085 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/canonical.php | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 3ab8d89a7a..ac74e6218e 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -1,16 +1,18 @@