Closed
Bug 292355
Opened 21 years ago
Closed 21 years ago
Plugins send document's base URI as referrer, instead of document's URI
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: Biesinger, Assigned: Biesinger)
References
()
Details
Attachments
(1 file)
|
3.16 KB,
patch
|
jst
:
review+
bzbarsky
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
5932 httpChannel->SetReferrer(doc->GetBaseURI());
shouldn't that be doc->GetDocumentURI()?
Comment 1•21 years ago
|
||
Yeah, that should be GetDocumentURI() (see what links send, and images, and so
forth). Want to post a patch, biesi?
| Assignee | ||
Comment 2•21 years ago
|
||
only the second hunk of the patch is needed to fix this bug, the rest is
removing some unnecessary casts and indentation fixing.
I'd attach a testcase, but hard to do without inspecting server logs or writing
plugin content
Assignee: nobody → cbiesinger
Status: NEW → ASSIGNED
Attachment #182225 -
Flags: superreview?(bzbarsky)
Attachment #182225 -
Flags: review?(jst)
Comment 3•21 years ago
|
||
Comment on attachment 182225 [details] [diff] [review]
patch
r=jst
Attachment #182225 -
Flags: review?(jst) → review+
Updated•21 years ago
|
Attachment #182225 -
Flags: superreview?(bzbarsky) → superreview+
| Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 182225 [details] [diff] [review]
patch
low risk patch to send the correct referrer for plugins
Attachment #182225 -
Flags: approval1.8b2?
| Assignee | ||
Updated•21 years ago
|
Target Milestone: --- → mozilla1.8beta2
Comment 5•21 years ago
|
||
Comment on attachment 182225 [details] [diff] [review]
patch
a=asa
Attachment #182225 -
Flags: approval1.8b2? → approval1.8b2+
| Assignee | ||
Comment 6•21 years ago
|
||
Checking in modules/plugin/base/src/nsPluginHostImpl.cpp;
/cvsroot/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp,v <--
nsPluginHostImpl.cpp
new revision: 1.523; previous revision: 1.522
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•