FIX: Plugin API NPN_PostURL Causes Internet Explorer to Fail

ID: Q182868


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01


SYMPTOMS

Plugins fail during a call to NPN_PostURL when hosted in Internet Explorer 4.0x (IE4).


RESOLUTION

Append post information onto the end of the URL and use NPN_GetURL instead.

For example, instead of this


   NPN_PostURL(instance, "http://url", "", 9, "postdata", FALSE); 
Use this

   NPN_GetURL(instance, "http://url?postdata", ""); 
There is an upper limit of 2k on a GET URL. For larger amounts of POST data, there is no workaround available at this time.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Internet Explorer 4.01 Service Pack 1.

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation

Keywords : AXSDKMisc
Version : WINDOWS:4.0,4.01
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.