src/Sanitizer.php
protected function hasRemoteReference($value)
    {
        $value = $this->removeNonPrintableCharacters($value);

        $wrapped_in_url = preg_match('~^url\(\s*[\'"]\s*(.*)\s*[\'"]\s*\)$~xi', $value, $match);
        if (!$wrapped_in_url){
            return false;
        }

        $value = trim($match[1], '\'"');

        return preg_match('~^((https?|ftp|file):)?//~xi', $value);
    }
protected function hasRemoteReference($value)
    {
        $value = $this->removeNonPrintableCharacters($value);

        $wrapped_in_url = preg_match('~^url\(\s*[\'"]\s*(.*)\s*[\'"]\s*\)$~xi', $value, $match);
        if (!$wrapped_in_url){
            return false;
        }

        $value = trim($match[1], '\'"');

        return preg_match('~^((https?|ftp|file):)?//~xi', $value);
    }
protected function hasRemoteReference ( $ value ) { $ value = $ this -> removeNonPrintableCharacters ( $ value ) ; $ wrapped_in_url = preg_match ( '~^url\(\s*[\'"]\s*(.*)\s*[\'"]\s*\)$~xi' , $ value , $ match ) ; if ( ! $ wrapped_in_url ) { return false ; } $ value = trim ( $ match [ 1 ] , '\'"' ) ; return preg_match ( '~^((https?|ftp|file):)?//~xi' , $ value ) ; }
Does this attribute value have a remote reference?

@param $value
@return bool
Does this attribute value have a remote reference?