[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Add to HTML responses

2016-12-15 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/312741 )

Change subject: Add  to HTML responses
..


Add  to HTML responses

Change-Id: I080040913c4c9750104bc88b643a1ffdfd222502
---
M includes/OutputPage.php
M includes/WebRequest.php
2 files changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index f5405d7..2933681 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -2244,7 +2244,7 @@
$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 0065135..c829ce0 100644
--- a/includes/WebRequest.php
+++ b/includes/WebRequest.php
@@ -1099,6 +1099,7 @@
header( 'Content-Type: text/html' );
$encUrl = htmlspecialchars( $url );
echo <<
 
 
 Security redirect

-- 
To view, visit https://gerrit.wikimedia.org/r/312741
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I080040913c4c9750104bc88b643a1ffdfd222502
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Fomafix 
Gerrit-Reviewer: Legoktm 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Add to HTML responses

2016-09-25 Thread Fomafix (Code Review)
Fomafix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312741

Change subject: Add  to HTML responses
..

Add  to HTML responses

Change-Id: I080040913c4c9750104bc88b643a1ffdfd222502
---
M includes/OutputPage.php
M includes/WebRequest.php
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/41/312741/1

diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index f5405d7..2933681 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -2244,7 +2244,7 @@
$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 0065135..c829ce0 100644
--- a/includes/WebRequest.php
+++ b/includes/WebRequest.php
@@ -1099,6 +1099,7 @@
header( 'Content-Type: text/html' );
$encUrl = htmlspecialchars( $url );
echo <<
 
 
 Security redirect

-- 
To view, visit https://gerrit.wikimedia.org/r/312741
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I080040913c4c9750104bc88b643a1ffdfd222502
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Fomafix 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits