Partager via


AtlIsUnsafeUrlChar

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

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

Other Resources

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference