AtlIsUnsafeUrlChar

 

Call this function to find out whether a character is safe for use in a URL.

Syntax

      inline BOOL AtlIsUnsafeUrlChar(
   char chIn 
) throw( );

Parameters

  • chIn
    The character to be tested for safety.

Return Value

Returns TRUE if the input character is unsafe, FALSE otherwise.

Remarks

Characters that should not be used in URLs can be tested using this function and converted using AtlCanonicalizeUrl.

Requirements

Header: atlutil.h

See Also

Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Functions Alphabetical Reference