Log in
Model

SecureUrl

Magento\Securitytxt\Model\Config\Backend\SecureUrl

What it does

This class validates the security.txt secure URL configuration field in the Magento admin panel.

It ensures that any URL entered for the security.txt file contact information uses HTTPS protocol before the value is saved to the database.

Developers would encounter this when merchants configure their security.txt contact URLs in the admin configuration.

Public Methods

  • beforeSave()