[Webkit-unassigned] [Bug 31922] New: <img>/<script>/<link> tags with src=""/href="" cause request to server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 26 17:51:17 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31922

           Summary: <img>/<script>/<link> tags with src=""/href="" cause
                    request to server
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at nczonline.net


Chrome/Safari makes another request to the page when encountering:
<img src="">
<script src="">
<link href="">

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:

<html>
<head>
    <title>Bad Image</title>
</head>
<body>
<img src="">
</body>
</html>

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't fire a request under any of these circumstances and
Internet
Explorer only fires a request for <img src="">, but not for the others. Firefox
behaves the same as Safari/Chrome.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list