Srch.U.ensureAllowedProtocol Method (DisplayTemplatesSrch)

Ensures that the given URL protocol value is allowed.

Srch.U.ensureAllowedProtocol(value)

Return value

The specified URL value if the protocol is allowed; empty string otherwise.

Parameters

  • value
    The URL value to check.