$sanitizer


Properties and Methods

$sanitizer->url($value)

Introduced in Version 2.0

Description

Filters a URL value. Returns a valid URL or blank if it can't be made valid. If URL contains a domain and is valid but missing a protocol (like http://) it will add it. It won't add a protocol to local/relative URLs.

Post Comment