From: jenkins-bot Date: Fri, 16 Dec 2016 07:16:45 +0000 (+0000) Subject: Merge "Add to HTML responses" X-Git-Tag: 1.31.0-rc.0~4556 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=3a2853e218acb586a00f2e59638de4176aee287f;hp=7d4b14f711779860a936391a28780a6c7177f0c1;p=lhc%2Fweb%2Fwiklou.git Merge "Add to HTML responses" --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index bae871e445..eee879ce66 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2303,7 +2303,7 @@ class OutputPage extends ContextSource { $response->header( "Content-Type: text/html; charset=utf-8" ); if ( $config->get( 'DebugRedirects' ) ) { $url = htmlspecialchars( $redirect ); - print "\n\nRedirect\n\n\n"; + print "\n\n\nRedirect\n\n\n"; print "

Location: $url

\n"; print "\n\n"; } else { diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 3ef3bc1e0b..90a0fba6a2 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1099,6 +1099,7 @@ class WebRequest { header( 'Content-Type: text/html' ); $encUrl = htmlspecialchars( $url ); echo << Security redirect