Partager via


ATL_URL Flags

These flags modify the behavior of AtlEscapeUrl and AtlCanonicalizeUrl .

#define ATL_URL_ESCAPE 
#define ATL_URL_NO_ENCODE 
#define ATL_URL_DECODE 
#define ATL_URL_NO_META 
#define ATL_URL_ENCODE_SPACES_ONLY 
#define ATL_URL_BROWSER_MODE 
#define ATL_URL_ENCODE_PERCENT

Remarks

Flag

Description

ATL_URL_BROWSER_MODE

Does not encode or decode characters after "#" or "?", and does not remove trailing white space after "?". If this value is not specified, the entire URL is encoded and trailing white space is removed.

ATL_URL_DECODE

Converts all %XX sequences to characters, including escape sequences, before the URL is parsed.

ATL_URL_ENCODE_PERCENT

Encodes any percent signs encountered. By default, percent signs are not encoded.

ATL_URL_ENCODE_SPACES_ONLY

Encodes spaces only.

ATL_URL_ESCAPE

Converts all escape sequences (%XX) to their corresponding characters.

ATL_URL_NO_ENCODE

Does not convert unsafe characters to escape sequences.

ATL_URL_NO_META

Does not remove meta sequences (such as "." and "..") from the URL.

Requirements

Header: atlutil.h

See Also

Concepts

ATL Concepts

ATL Reference

ATL Macros Alphabetical Reference