The OpenD Programming Language

cef_format_url_for_security_display

This is a convenience function for formatting a URL in a concise and human- friendly way to help users make security-related decisions (or in other circumstances when people need to distinguish sites, origins, or otherwise- simplified URLs from each other). Internationalized domain names (IDN) may be presented in Unicode if the conversion is considered safe. The returned value will (a) omit the path for standard schemes, excepting file and filesystem, and (b) omit the port if it is the default for the scheme. Do not use this for URLs which will be parsed or sent to other applications.

version(cef && embedded_cef_bindings)
extern (C)
cef_string_userfree_t
cef_format_url_for_security_display
(
const(cef_string_t)* origin_url
)

Meta