Knowledge Base

BUG: Registry Patterns Ignored for Pluggable Namespace Handlers

Article ID: 190893

Article Last Modified on 5/11/2006


APPLIES TO


This article was previously published under Q190893

SYMPTOMS

Microsoft Internet Explorer, versions 4.0 and later, ignore the pattern keys set in the registry when determining which permanent pluggable namespace handlers to invoke.

RESOLUTION

Create a temporary pluggable namespace handler instead of a permanent namespace handler. Use IInternetSession::RegisterNameSpace and IInternetSession::UnregisterNameSpace to register and unregister a temporary pluggable namespace handler, respectively.

STATUS

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

MORE INFORMATION

Pluggable namespace handlers currently do not recognize the pattern strings set in the registry. This bug causes the namespace handler to be called for all protocol calls and not just the ones that match the listed patterns. As an example of what the correct behavior should be, a namespace handler entry in the registry as follows:
HKEY_CLASSES_ROOT\PROTOCOLS\Name-Space Handler\http\myserv-Handler
   CLSID = {..}
   Pattern1 = "myserver"
				
should only be called for URLs that begin with http://myserver/ and the default HTTP pluggable protocol handler should be called for all other HTTP URLs.

REFERENCES

For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

Keywords: kbbug kburl kbmoniker kbpending KB190893