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( __in struct _HTTP_FILTER_CONTEXT* pfc, __in enum SF_REQ_TYPE sfReq, __in PVOID pData, DWORD ul1, DWORD ul2 );
Pointer to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP session. Pass the filter context in this parameter.
Specifies the particular support function that is to be executed by the Forefront TMG Web filter, in this case, SF_REQ_NORMALIZE_URL.
Pointer to a buffer containing a null-terminated string that specifies the URL to normalize.
Unused in this support function.
Unused in this support function.
This callback function returns TRUE if the call is successful; otherwise, it returns FALSE. To obtain extended error information, call GetLastError.
For more information about the types of event notifications that are sent to Web filters, see Event Notifications.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wpxhttpfilt.h. |
DLL |
Requires W3Filter.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.