Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Issue 3180: This fixes the following bugs:-... (Closed)

Created:
12 years, 3 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit, jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

This fixes the following bugs:- 1. http://code.google.com/p/chromium/issues/detail?id=1473 2. http://code.google.com/p/chromium/issues/detail?id=1533 Our plugin implementation currently sends the containing frame URL as the default referer in HTTP requests initiated by plugins. Based on a discussion on the Plugin futures mailing list, an agreement has been reached to mimic IE behavior and send in the plugin source URL as the default referer in plugin requests. If the plugin is instantiated with an empty SRC, then use the containing frame URL as the referer. Bug=1473, 1533 R=jam Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2539

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M webkit/glue/webplugin_impl.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 4 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
12 years, 3 months ago (2008-09-20 02:12:12 UTC) #1
amit
A drive by nit. Also if the url is not specified in the embed tag, ...
12 years, 3 months ago (2008-09-22 00:21:46 UTC) #2
jam
lgtm http://codereview.chromium.org/3180/diff/1/2 File webkit/glue/webplugin_impl.h (right): http://codereview.chromium.org/3180/diff/1/2#newcode289 Line 289: On 2008/09/22 00:21:47, amit wrote: > Since ...
12 years, 3 months ago (2008-09-22 19:49:20 UTC) #3
ananta
If a plugin is instantiated with an empty SRC, then we set the containing frame ...
12 years, 3 months ago (2008-09-23 20:48:46 UTC) #4
jam
12 years, 3 months ago (2008-09-23 23:44:09 UTC) #5
lgtm

http://codereview.chromium.org/3180/diff/205/207
File webkit/glue/webplugin_impl.cc (right):

http://codereview.chromium.org/3180/diff/205/207#newcode1101
Line 1101: // containing frame URL as the referer.
referer->referrer

Powered by Google App Engine
This is Rietveld 408576698