HOR-2689 Removed instances of LoadSystem, LoadThirdParty
This commit is contained in:
committed by
davidcallizaya
parent
60efcf7ac7
commit
5d3a4c073f
@@ -96,7 +96,7 @@ class HTMLPurifier_DefinitionCache_Serializer extends HTMLPurifier_DefinitionCac
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
|
||||
$sFile=$filter->validateInput($file,'path');
|
||||
@@ -209,7 +209,7 @@ class HTMLPurifier_DefinitionCache_Serializer extends HTMLPurifier_DefinitionCac
|
||||
$pathTrunk = implode('/', $docuroot) . '/';
|
||||
require_once($pathTrunk . 'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
|
||||
if(is_file($file)) {
|
||||
|
||||
10
thirdparty/pear/HTTP/WebDAV/Server.php
vendored
10
thirdparty/pear/HTTP/WebDAV/Server.php
vendored
@@ -678,7 +678,7 @@ class HTTP_WebDAV_Server
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$ns_defs = $filter->xssFilterHard($ns_defs);
|
||||
|
||||
@@ -831,7 +831,7 @@ class HTTP_WebDAV_Server
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$_mergePathes = $filter->xssFilterHard($this->_urlencode($this->_mergePathes($_SERVER["SCRIPT_NAME"], $this->path)));
|
||||
|
||||
@@ -1167,7 +1167,7 @@ class HTTP_WebDAV_Server
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$val = $filter->xssFilterHard($val);
|
||||
|
||||
@@ -1226,7 +1226,7 @@ class HTTP_WebDAV_Server
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$key = $filter->xssFilterHard($key);
|
||||
|
||||
@@ -1439,7 +1439,7 @@ class HTTP_WebDAV_Server
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$options = $filter->xssFilterHard($options);
|
||||
$timeout = $filter->xssFilterHard($timeout);
|
||||
|
||||
2
thirdparty/pear/Net/FTP.php
vendored
2
thirdparty/pear/Net/FTP.php
vendored
@@ -1419,7 +1419,7 @@ class Net_FTP extends PEAR
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$remote_path = $this->_constructPath($remote_path);
|
||||
if (!$this->_checkDir($remote_path)) {
|
||||
|
||||
2
thirdparty/pear/Net/FTP/Socket.php
vendored
2
thirdparty/pear/Net/FTP/Socket.php
vendored
@@ -644,7 +644,7 @@ function ftp_get(&$control, $local, $remote, $mode, $resume = 0, $wr='w')
|
||||
$pathTrunk = implode('/', $docuroot) . '/';
|
||||
require_once($pathTrunk . 'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
if (!is_resource($control) || !is_writable(dirname($local)) ||
|
||||
!is_integer($mode) || !is_integer($resume)) {
|
||||
|
||||
8
thirdparty/pear/PEAR/Builder.php
vendored
8
thirdparty/pear/PEAR/Builder.php
vendored
@@ -13,7 +13,7 @@
|
||||
// | obtain it through the world-wide-web, please send a note to |
|
||||
// | license@php.net so we can mail you a copy immediately. |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Authors: Stig S<>ther Bakken <ssb@php.net> |
|
||||
// | Authors: Stig S<>ther Bakken <ssb@php.net> |
|
||||
// +----------------------------------------------------------------------+
|
||||
//
|
||||
// $Id: Builder.php,v 1.10 2003/03/21 07:57:27 ssb Exp $
|
||||
@@ -23,7 +23,7 @@ require_once 'PEAR/Common.php';
|
||||
/**
|
||||
* Class to handle building (compiling) extensions.
|
||||
*
|
||||
* @author Stig S<>ther Bakken <ssb@php.net>
|
||||
* @author Stig S<>ther Bakken <ssb@php.net>
|
||||
*/
|
||||
class PEAR_Builder extends PEAR_Common
|
||||
{
|
||||
@@ -118,7 +118,7 @@ class PEAR_Builder extends PEAR_Common
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$dsp = $filter->validateInput($dsp,"path");
|
||||
// msdev doesn't tell us the output directory :/
|
||||
@@ -370,7 +370,7 @@ class PEAR_Builder extends PEAR_Common
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$command = $filter->validateInput($command);
|
||||
|
||||
|
||||
4
thirdparty/pear/PEAR/Command/Package.php
vendored
4
thirdparty/pear/PEAR/Command/Package.php
vendored
@@ -361,7 +361,7 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$command = $filter->validateInput($command);
|
||||
|
||||
@@ -454,7 +454,7 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$command = $filter->validateInput($command);
|
||||
|
||||
|
||||
4
thirdparty/pear/PEAR/Common.php
vendored
4
thirdparty/pear/PEAR/Common.php
vendored
@@ -1228,7 +1228,7 @@ class PEAR_Common extends PEAR
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$file = $filter->validateInput($file,"path");
|
||||
|
||||
@@ -1655,7 +1655,7 @@ class PEAR_Common extends PEAR
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$dest_file = $filter->validateInput($dest_file,"path");
|
||||
|
||||
|
||||
2
thirdparty/pear/PEAR/Installer.php
vendored
2
thirdparty/pear/PEAR/Installer.php
vendored
@@ -245,7 +245,7 @@ class PEAR_Installer extends PEAR_Common
|
||||
$md5sum = G::encryptOld($contents);
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
|
||||
$subst_from = $subst_to = array();
|
||||
|
||||
4
thirdparty/pear/PEAR/Registry.php
vendored
4
thirdparty/pear/PEAR/Registry.php
vendored
@@ -174,7 +174,7 @@ class PEAR_Registry extends PEAR
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$file = $filter->validateInput($file,"path");
|
||||
|
||||
@@ -448,7 +448,7 @@ class PEAR_Registry extends PEAR
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$file = $filter->validateInput($file,"path");
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ function print_endpoint_names()
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$currTest = $filter->xssFilterHard($iop->currentTest);
|
||||
|
||||
@@ -163,7 +163,7 @@ foreach ($args[0] as $arg) {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$arg[1] = $filter->xssFilterHard($arg[1]);
|
||||
|
||||
|
||||
6
thirdparty/pear/nusoap.colosa.php
vendored
6
thirdparty/pear/nusoap.colosa.php
vendored
@@ -818,7 +818,7 @@ class nusoap_base_colosa {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$data = $filter->xssFilterHard($data);
|
||||
|
||||
@@ -3284,7 +3284,7 @@ class soap_server_colosa extends nusoap_base_colosa {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$err = $filter->xssFilterHard($err);
|
||||
|
||||
@@ -3345,7 +3345,7 @@ class soap_server_colosa extends nusoap_base_colosa {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$webDescription = $filter->xssFilterHard($this->wsdl->webDescription());
|
||||
|
||||
|
||||
6
thirdparty/pear/nusoap.php
vendored
6
thirdparty/pear/nusoap.php
vendored
@@ -815,7 +815,7 @@ class nusoap_base {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$data = $filter->xssFilterHard($data);
|
||||
|
||||
@@ -3287,7 +3287,7 @@ class soap_server extends nusoap_base {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$err = $filter->xssFilterHard($err);
|
||||
|
||||
@@ -3348,7 +3348,7 @@ class soap_server extends nusoap_base {
|
||||
$pathTrunk = implode( '/', $docuroot ) . '/';
|
||||
require_once($pathTrunk.'gulliver/system/class.g.php');
|
||||
}
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$webDescription = $filter->xssFilterHard($this->wsdl->webDescription());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user