Knowledge Base

FIX: Plugin API NPN_PostURL Causes Internet Explorer to Fail

Article ID: 182868

Article Last Modified on 11/19/1999


APPLIES TO


This article was previously published under Q182868

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.

Keywords: kbbug kbfix KB182868