Метод hasTraversalSegment

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 257–262
~/bitrix/modulesim/lib/V2/Guest/Auth/GuestApplication.php

Исходный код

PHP
protected static

Сигнатура метода

protected static function hasTraversalSegment(HttpRequest $request): bool

Возвращает: bool

Описание

A path with a '..' segment names one page and is served another - the scope matches the raw request target, the web server hands PHP the resolved path - so there is nothing to hand over.

Параметры

1
Имя Тип По умолчанию Флаги
$request HttpRequest -
-