<?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>31922</bug_id>
          
          <creation_ts>2009-11-26 17:51:17 -0800</creation_ts>
          <short_desc>&lt;img&gt;/&lt;script&gt;/&lt;link&gt; tags with src=&quot;&quot;/href=&quot;&quot; cause request to server</short_desc>
          <delta_ts>2009-11-26 20:56:11 -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>Images</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>30303</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nicholas C. Zakas">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166802</commentid>
    <comment_count>0</comment_count>
    <who name="Nicholas C. Zakas">webkit</who>
    <bug_when>2009-11-26 17:51:17 -0800</bug_when>
    <thetext>Chrome/Safari makes another request to the page when encountering:
&lt;img src=&quot;&quot;&gt;
&lt;script src=&quot;&quot;&gt;
&lt;link href=&quot;&quot;&gt;

For example, if the page is hosted at http://www.example.com/dir/mypage.htm,
each of these cause another request to be made to
http://www.example.com/dir/mypage.htm. This seems like a serious bug that has
the potential to do a lot of damage to servers.

Example page:

&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Bad Image&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;img src=&quot;&quot;&gt;
&lt;/body&gt;
&lt;/html&gt;

Reproducible: Always

Steps to Reproduce:
1. Create a page with one of the offending patterns.
2. Load the page while watching HTTP traffic.
Actual Results:  
Observe that there are multiple requests to the same page.

Expected Results:  
There should be only one request to the specified page.

Note: Opera doesn&apos;t fire a request under any of these circumstances and Internet
Explorer only fires a request for &lt;img src=&quot;&quot;&gt;, but not for the others. Firefox behaves the same as Safari/Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166812</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-11-26 20:56:11 -0800</bug_when>
    <thetext>Why do you think it&apos;s a bug? It&apos;s exactly what the page author asked for. What kind of damage can this do to servers?

Anyway, marking as duplicate.

*** This bug has been marked as a duplicate of bug 30303 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>