Skip to main content

enforce_security

Function enforce_security 

Source
pub fn enforce_security() -> bool
Expand description

Whether secure mode is on.

Secure mode disables the pipe: and file: URL schemes, URL rewriting from the environment, and decoders that execute embedded code. It is enabled by setting WDS_SECURE=1 or by calling set_enforce_security.