aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgamerchan <gamerchandan@gmail.com>2013-05-03 11:10:53 +0530
committerAndreas Fischer <bantu@phpbb.com>2013-05-12 22:57:40 +0200
commitd680aac7c5662223f1f491b244456220450cac23 (patch)
treed2d341e987050b0d37804f7c91a2d19e83754162
parentf9325bfdeb74f8d4479b40c050063dde81aa2857 (diff)
downloadforums-d680aac7c5662223f1f491b244456220450cac23.tar
forums-d680aac7c5662223f1f491b244456220450cac23.tar.gz
forums-d680aac7c5662223f1f491b244456220450cac23.tar.bz2
forums-d680aac7c5662223f1f491b244456220450cac23.tar.xz
forums-d680aac7c5662223f1f491b244456220450cac23.zip
[ticket/11105] Added spaces between ; and "url=" to adhere to w3c conventions.
There was no space between ; and the string "url=". But according to w3c, we should have atleast one space between them. So, added space characters accordingly. PHPBB3-11105
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/install/install_convert.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 98a1dab722..cf676a3351 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2740,7 +2740,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
// For XHTML compatibility we change back & to &amp;
$template->assign_vars(array(
- 'META' => '<meta http-equiv="refresh" content="' . $time . ';url=' . $url . '" />')
+ 'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />')
);
return $url;
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index 62efc3e46b..fb97255981 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -2087,7 +2087,7 @@ class install_convert extends module
// Because we should not rely on correct settings, we simply use the relative path here directly.
$template->assign_vars(array(
'S_REFRESH' => true,
- 'META' => '<meta http-equiv="refresh" content="5;url=' . $url . '" />')
+ 'META' => '<meta http-equiv="refresh" content="5; url=' . $url . '" />')
);
}
}