<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9445</bug_id>
          
          <creation_ts>2006-06-14 17:02:03 -0700</creation_ts>
          <short_desc>Netscape Plugin (Flash) NSURLRequests have no MainDocumentURL set</short_desc>
          <delta_ts>2010-03-08 14:28:07 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26391</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rachael Worthington (cheers)">rachael</reporter>
          <assigned_to name="Rachael Worthington (cheers)">rachael</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>ggaren</cc>
    
    <cc>mitz</cc>
    
    <cc>opendarwin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45707</commentid>
    <comment_count>0</comment_count>
    <who name="Rachael Worthington (cheers)">rachael</who>
    <bug_when>2006-06-14 17:02:03 -0700</bug_when>
    <thetext>Problem seen with Flash plugin requests specifically</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43812</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-11-29 12:02:38 -0800</bug_when>
    <thetext>From IRC: Omni is using mainDocumentURL to block specific requests, to &quot;do things like add &quot;.swf&quot; to your blacklist and have flash just not-load, and then click to load it if you want it.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43762</commentid>
    <comment_count>2</comment_count>
      <attachid>11676</attachid>
    <who name="Rachael Worthington (cheers)">rachael</who>
    <bug_when>2006-11-29 20:23:42 -0800</bug_when>
    <thetext>Created attachment 11676
Omni&apos;s Fix for this bug

ap: here&apos;s the change Omni made, to ensure that requests that originate from WebPlugins have their MainDocumentURL set. We use this to decide whether or not to block content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43338</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-04 22:46:17 -0800</bug_when>
    <thetext>Something that surprises me is that this code doesn&apos;t seem to be reachable from Netscape-style plugins - the modified method is a WebPluginController API, and the only place in WebKit where it is called is from an SPI of same class (&quot;For compatibility only&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42561</commentid>
    <comment_count>4</comment_count>
      <attachid>11676</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-12-09 14:47:32 -0800</bug_when>
    <thetext>Comment on attachment 11676
Omni&apos;s Fix for this bug

This may not cover all the right places to get plugins to set a main document URL, but seems like an improvement in any case.

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42571</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-10 02:46:46 -0800</bug_when>
    <thetext>I&apos;ll land this, but would like to clarify something over IRC first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42615</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-11 11:55:06 -0800</bug_when>
    <thetext>Looks like my concerns may be not entirely nonsense - reassigning back to Rachael to look into them some more.

Besides this patch being for another issue, I&apos;m not sure if it&apos;s even correct to set mainDocumentURL rather than referer here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39160</commentid>
    <comment_count>7</comment_count>
      <attachid>11676</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-12-28 15:32:19 -0800</bug_when>
    <thetext>Comment on attachment 11676
Omni&apos;s Fix for this bug

Clearing mjs r+ on Attachment 11676 per Comment #6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173002</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-12-17 17:35:47 -0800</bug_when>
    <thetext>&lt;rdar://problem/7338359&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197315</commentid>
    <comment_count>9</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2010-03-08 14:28:07 -0800</bug_when>
    <thetext>Reverse duping to https://bugs.webkit.org/show_bug.cgi?id=26391

*** This bug has been marked as a duplicate of bug 26391 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11676</attachid>
            <date>2006-11-29 20:23:42 -0800</date>
            <delta_ts>2006-12-28 15:32:19 -0800</delta_ts>
            <desc>Omni&apos;s Fix for this bug</desc>
            <filename>webkitPatch.txt</filename>
            <type>text/plain</type>
            <size>1111</size>
            <attacher name="Rachael Worthington (cheers)">rachael</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L0NoYW5nZUxvZwko
cmV2aXNpb24gMTc5MzcpCisrKyBXZWJLaXQvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0x
LDMgKzEsMTAgQEAKKzIwMDYtMTEtMjkgIFJhY2hhZWwgU3RhbnRvbiAgPHJhY2hhZWxAb21uaWdy
b3VwLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP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WVzdCwgdGFyZ2V0KTsKICAgICB9CiB9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>