Log in
Model

Request

Magento\MediaStorage\Model\File\Storage\Request

What it does

This class sanitizes and stores the requested file path from HTTP requests for media storage operations.

Developers use it to safely retrieve file paths when handling media file requests, ensuring security by removing parent directory traversal patterns (..) that could allow unauthorized file access.

Public Methods

  • getPathInfo()