Zend\Escaper\Escaper::escapeUrl
Escape a string for the URI or Parameter contexts. This should not be used to escape an entire URI - only a subcomponent being inserted. The function is a simple proxy to rawurlencode() which now implements RFC 3986 since PHP 5.3 completely.
Signature
public function escapeUrl(string
$string )
Parameters
$string
— string
Returns
- string