Log in
Model

UpsUrl

Magento\Ups\Model\Config\Backend\UpsUrl

What it does

This class validates UPS API endpoint URLs configured in Magento's admin settings.

It ensures that any URL entered for UPS shipping integration points to an official ups.com domain before saving the configuration, preventing misconfiguration or potential security issues from unauthorized endpoints.

Public Methods

  • beforeSave()