BUG: Registry Patterns Ignored for Pluggable Namespace Handlers (190893)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Explorer (Programming) 4.01 SP1
  • Microsoft Internet Explorer (Programming) 5
  • Microsoft Internet Explorer (Programming) 5.5

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:

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbBug kbMoniker kbpending kburl KB190893