Model

FedexUrl

Magento\Fedex\Model\Config\Backend\FedexUrl

What it does

This class validates FedEx API endpoint URLs configured in the Magento admin panel.

It ensures that any URL entered for FedEx shipping configuration is a valid HTTP/HTTPS URL and belongs to the fedex.com domain, preventing administrators from accidentally or maliciously pointing to unauthorized endpoints.

Public Methods

  • beforeSave()