BaseUrlChecker
Magento\Store\Model\BaseUrlChecker
What it does
This class validates that incoming HTTP requests match the configured base URL of the Magento store.
Developers use it to ensure users are accessing the store through the correct domain, protocol (HTTP/HTTPS), and path, which is essential for security and SEO purposes.
It checks if base URL verification is enabled and validates the request's scheme, host, and path components against the configured store base URL.
Public Methods
- execute()
- isEnabled()
- isFrontendSecure()