Microsoft KB Archive/330639

= BUG: GetServerVariable Causes an Access Violation in Internet Security and Acceleration Server Web Filter =

Article ID: 330639

Article Last Modified on 10/24/2002

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2000 Standard Edition
 * Microsoft Internet Security and Acceleration Server 2000 Service Pack 1

-



This article was previously published under Q330639



SYMPTOMS
If you call the GetServerVariable method in the Microsoft Internet Security and Acceleration (ISA) Server Web filter, you may cause an access violation.



RESOLUTION
To work around this problem, register the filter so that it can handle the SF_NOTIFY_PREPROC_HEADERS notification. You can leave the notification handler empty.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The access violation may occur when you call GetServerVariable to retrieve a value for HTTP_ALL, RAW_HTTP, HTTP_REFFERER, and other variables. GetServerVariable can cause an access violation when it is called in any notifications, unless the filter handles SF_NOTIFY_PREPROC_HEADERS.

