philg_url_valid_p query_url
Returns 1 if a URL has more or less the correct form.
Source code:
return [regexp {https?://.+} $query_url]