Microsoft Internet Security and Acceleration Server 2004 SDK

SF_REQ_NORMALIZE_URL

The SF_REQ_NORMALIZE_URL form of the ServerSupportFunction callback function can be used to normalize the URL. Normalization includes decoding hex codes, removing illegal characters, and handling some internationalization conversions.

BOOL WINAPI * ServerSupportFunction(
  struct _HTTP_FILTER_CONTEXT* pfc,
  enum SF_REQ_TYPE sfReq,
  PVOID pData,
  DWORD ul1,
  DWORD ul2
);

Parameters

pfc
Pointer to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP session. Pass the filter context in this parameter.
sfReq
Specifies the particular support function that is to be executed by the ISA Server Web filter, in this case, SF_REQ_NORMALIZE_URL.
pData
Pointer to a buffer containing a null-terminated string that specifies the URL to normalize.
ul1
Unused in this support function.
ul2
Unused in this support function.

Return Values

Returns TRUE if the function succeeded, or FALSE if the function failed.

Remarks

For more information about the types of event notifications that are sent to Web filters, see Event Notifications.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wpxhttpfilt.h.

See Also

ServerSupportFunction