1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CSecurityXSSDetect

Открытые члены

 __construct ($options=array())
 process (&$content)
 getQuotes ()
 removeQuotedStrings ($string, $isSaveQuotes=true)

Открытые статические члены

static OnEndBufferContent (&$content)

Поля данных

const SCRIPT_MARK = '<!-- deleted by bitrix WAF -->'

Защищенные члены

 setAction ($action)
 setLog ($log)
 logVariable ($name, $value, $sourceScript)
 CreateTrace ($var_name, $str, $script)
 pushQuote ($quote)
 findInArray ($string, $searches)
 isDangerBody ($body)
 getFilteredScriptBody ($body)
 getFilteredScript ($strs)
 filter ($string)
 addVariable ($name, $value)
 extractVariablesFromArray ($name, $array)

Подробное описание

См. определение в файле post_filter.php строка 5

Конструктор(ы)

◆ __construct()

__construct ( $options = array())

См. определение в файле post_filter.php строка 21

Методы

◆ addVariable()

addVariable ( $name,
$value )
protected
Аргументы
string$name
string$value

См. определение в файле post_filter.php строка 287

◆ CreateTrace()

CreateTrace ( $var_name,
$str,
$script )
protected
Аргументы
$var_name
$str
$script

См. определение в файле post_filter.php строка 154

◆ extractVariablesFromArray()

extractVariablesFromArray ( $name,
$array )
protected
Аргументы
string$name
array$array

См. определение в файле post_filter.php строка 307

◆ filter()

filter ( $string)
protected
Аргументы
string$string
Возвращает
string

См. определение в файле post_filter.php строка 275

◆ findInArray()

findInArray ( $string,
$searches )
protected
Аргументы
string$string
array$searches
Возвращает
null|string

См. определение в файле post_filter.php строка 189

◆ getFilteredScript()

getFilteredScript ( $strs)
protected
Аргументы
array$strs
Возвращает
string

См. определение в файле post_filter.php строка 260

◆ getFilteredScriptBody()

getFilteredScriptBody ( $body)
protected
Аргументы
string$body
Возвращает
string

См. определение в файле post_filter.php строка 238

◆ getQuotes()

getQuotes ( )
Возвращает
array

См. определение в файле post_filter.php строка 83

◆ isDangerBody()

isDangerBody ( $body)
protected
Аргументы
string$body
Возвращает
array|false

См. определение в файле post_filter.php строка 214

◆ logVariable()

logVariable ( $name,
$value,
$sourceScript )
protected
Аргументы
$name
$value
$sourceScript
Возвращает
mixed

См. определение в файле post_filter.php строка 141

◆ OnEndBufferContent()

OnEndBufferContent ( & $content)
static
Аргументы
$content

См. определение в файле post_filter.php строка 45

◆ process()

process ( & $content)
Аргументы
string$content
Возвращает
void

См. определение в файле post_filter.php строка 64

◆ pushQuote()

pushQuote ( $quote)
protected
Аргументы
string$quote
Возвращает
string

См. определение в файле post_filter.php строка 178

◆ removeQuotedStrings()

removeQuotedStrings ( $string,
$isSaveQuotes = true )
Аргументы
string$string
bool$isSaveQuotes
Возвращает
mixed

См. определение в файле post_filter.php строка 93

◆ setAction()

setAction ( $action)
protected
Аргументы
string$action

См. определение в файле post_filter.php строка 115

◆ setLog()

setLog ( $log)
protected
Аргументы
string$log- only Y/N

См. определение в файле post_filter.php строка 123

Поля

◆ SCRIPT_MARK

const SCRIPT_MARK = '<!-- deleted by bitrix WAF -->'

См. определение в файле post_filter.php строка 7


Объявления и описания членов класса находятся в файле: