security::locations (public)

 security::locations

Defined in packages/acs-tcl/tcl/security-procs.tcl

This function returns the configured locations and the current location and the vhost locations, potentially in HTTP or in HTTPs variants. When the package parameter "SuppressHttpPort" of acs-tcl parameter is true, then an alternate location without a port is included. This proc also assumes hostnames from host_node_map table are accurate and legit. The term location refers to protocol://domain:port for website.

Returns:
insecure location and secure location followed possibly by alternate location(s) as a list.

Testcases:
ad_dom_sanitize_html
[ show source ]
Show another procedure: