dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revision: test and fix __construct exceptions
[lhc/web/wiklou.git]
/
includes
/
WebRequest.php
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
78d7444
..
3d5e372
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-216,7
+216,7
@@
class WebRequest {
$host = $parts[0];
if ( $wgAssumeProxiesUseDefaultProtocolPorts && isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) {
$host = $parts[0];
if ( $wgAssumeProxiesUseDefaultProtocolPorts && isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) {
- //
Bug 70
021: Assume that upstream proxy is running on the default
+ //
T72
021: Assume that upstream proxy is running on the default
// port based on the protocol. We have no reliable way to determine
// the actual port in use upstream.
$port = $stdPort;
// port based on the protocol. We have no reliable way to determine
// the actual port in use upstream.
$port = $stdPort;
@@
-308,7
+308,7
@@
class WebRequest {
* available variant URLs.
*/
public function interpolateTitle() {
* available variant URLs.
*/
public function interpolateTitle() {
- //
bug 16
019: title interpolation on API queries is useless and sometimes harmful
+ //
T18
019: title interpolation on API queries is useless and sometimes harmful
if ( defined( 'MW_API' ) ) {
return;
}
if ( defined( 'MW_API' ) ) {
return;
}
@@
-1229,7
+1229,7
@@
HTML;
if (
IP::isPublic( $ipchain[$i + 1] ) ||
$wgUsePrivateIPs ||
if (
IP::isPublic( $ipchain[$i + 1] ) ||
$wgUsePrivateIPs ||
- $proxyLookup->isConfiguredProxy( $curIP ) //
bug 48
919; treat IP as sane
+ $proxyLookup->isConfiguredProxy( $curIP ) //
T50
919; treat IP as sane
) {
// Follow the next IP according to the proxy
$nextIP = IP::canonicalize( $ipchain[$i + 1] );
) {
// Follow the next IP according to the proxy
$nextIP = IP::canonicalize( $ipchain[$i + 1] );