WS_URL_FLAGS enumeration
Flags that control behavior of WsDecodeUrl, WsEncodeUrl, and WsCombineUrl.
Syntax
enum WS_URL_FLAGS { WS_URL_FLAGS_ALLOW_HOST_WILDCARDS,
WS_URL_FLAGS_NO_PATH_COLLAPSE,
WS_URL_FLAGS_ZERO_TERMINATE
};
Constants
- WS_URL_FLAGS_ALLOW_HOST_WILDCARDS
-
The wild cards '*' and '+' should be accepted for the hostname. This flag applies to WsDecodeUrl and WsCombineUrl only.
- WS_URL_FLAGS_NO_PATH_COLLAPSE
-
By default path segments '.' are deleted, and path segments '..' removes the immediately preceding path segment. If WS_URL_FLAGS_NO_PATH_COLLAPSE is specified, then this behavior does not occur and path segments containing '.' and '..' are returned unaltered. This flag applies to WsDecodeUrl and WsCombineUrlonly.
- WS_URL_FLAGS_ZERO_TERMINATE
-
By default the string returned from WsEncodeUrl is not guaranteed to be zero terminated. If WS_URL_FLAGS_ZERO_TERMINATE is specified, then WsEncodeUrl will return zero terminated string. The length will include the zero terminator character. This flag applies to WsEncodeUrl and WsCombineUrlonly.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|