[Webkit-unassigned] [Bug 64811] <video> src with a 301 redirect fails to load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 12:00:26 PDT 2011


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





--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2011-07-19 12:00:26 PST ---
Yep, commenting out the platform specific path added in r72119 this works correctly:

        // Look in the system-specific registry first.
        String type = getMIMETypeForExtension(ext);
        if (!type.isEmpty())
            return type;

This is because the test case is:

    <video src="foo.html">

And "foo.html" redirects to a "foo.mp4".

Apparently when the platform returns "text/html" for "html" it fails. I'll try to investigate
why it then fails, so that I can provide an appropriate fix. I think its unlikely that the
fix should be here or in the platform. That seems like a possible short term fix to
restore old behavior, but I think a more appropriate fix may be to always send the
request and check for a redirect.

-- 
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