Function Hook_health_check_performance->firewallify_url

Definitions

sources/hooks/systems/health_checks/performance.php

  • Make a URL firewall-safe.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url URLPATH No No required parameter N/A N/A URL

Returns

  • URL that is firewall-safe
  • Type: URLPATH
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Make a URL firewall-safe.
 *
 * @param  URLPATH $url URL
 * @return URLPATH URL that is firewall-safe
 */

protected function firewallify_url(string $url) : string