util_complete_url_p (public)
util_complete_url_p url
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Determine whether the provided argument is a complete URL, i.e., it contains a scheme, and a host
- Parameters:
- url (required)
- Returns:
- boolean value
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api, ad_page_contract_filters, util__complete_url_p
Source code: try { set parsed [ns_parseurl -strict $url] return [expr {[dict exists $parsed proto] && [dict exists $parsed host]}] } on error {errorMsg} { return 0 }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-tcl/tcl/utilities-procs.xql