Closed
Bug 383708
Opened 17 years ago
Closed 15 years ago
NPN_GetURLNotify and NPN_PostURLNotify don't post Referer (referrer) header
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 410904
People
(Reporter: keli, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12 When loading urls from a browser plugin using NPN_Get/PostURLNotify, no Referer (referrer) header is added. This does work in Safari, which uses the URL of the page embedding the plug-in, which in my opinion is correct. A solution for NPN_PostURLNotify is to add the Referer header from the plug-in code, but this is not possible with NPN_GetURLNotify, as it does not allow submitting custom request headers. Reproducible: Always Steps to Reproduce: 1. Create a cgi script that log the submitted request headers to a text file 2. Create a custom plugin that fetches a url using NPN_GetURLNotify 3. Create a page embedding the custom plugin and point it to the cgi script url 4. load the page Actual Results: The log file generated by the cgi script does not contain a Referer header Expected Results: The output should contain a Referer header referring to the page embedding the custom plugin
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•