Closed Bug 87290 Opened 23 years ago Closed 23 years ago

Plugin MIME-type attribute should not be case sensitive

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Windows 2000

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.3

People

(Reporter: bugzilla, Assigned: peterlubczynski-bugs)

References

()

Details

(Whiteboard: [PDT+])

Attachments

(2 files)

If I go to:
http://www.bmwfilms.com/site_layout/filmstream.asp?FilmID=1&Type=QT&size=large&d
ir=off

I'm unable to see the quicktime movie even though I can see other quicktime 
movies other places like http://www.apple.com/trailers/wb/ai_trailer.html

build 20010621 on win2k
quicktime 5.0.1
On there embed tag they use
type="video/QuickTime"

I can see the movie with Netscape 4.x

on apple.com/trailers they dont use type="video/QuickTime"
Keywords: 4xp
i confirm the bug...works fine on 4.x 
Severity: normal → major
The default plugin shows up instead.

I wonder if this is string case comparison problem as it's listed as
video/quicktime in about:plugins. Does case matter on the content-type in the
embed tag? Need a simplified test.
test case is now available at:
http://gemal.dk/test/qt.html

Very simple test case:
<embed src="qt.mov" type="video/QuickTime">
<embed src="qt.mov" type="video/quickTime">
<embed src="qt.mov" type="video/quicktime">
<embed src="qt.mov">

Mozilla will only play the last two! So it is indeed a case comparison problem. 
Should be fixed asap....
Thnx, henrik!!
r=av
sr=attinasi
Arun,

Can you see if PDT will accept this bug? It appears that without out, specifying
the mime-type or extension in html must match that case of what the plugin
vendor hard coded in the plugin.
Assignee: av → peterlubczynski
Whiteboard: PDT
Patch checked into the TRUNK.
Status: NEW → ASSIGNED
Nominating nsbranch. This seems like a low-risk fix to me.
Keywords: nsBranch
Adding vtrunk because fix is in the trunk and needs to be verified.
Keywords: vtrunk
Changing summary from:
Unable to see quicktime movie at bmwfilms
Summary: Unable to see quicktime movie at bmwfilms → Plugin MIME-type attribute should not be case sensitive
I can now see the movie and bmwfilms.com

using 20010705 trunk
removing 'trunk' per henrik's comment.
Keywords: vtrunk
Whiteboard: PDT → PDT+
PDT+ per plugin meeting
Priority: -- → P3
Whiteboard: PDT+ → [PDT+][patch in trunk]
Target Milestone: --- → mozilla0.9.3
Patch is in now in both the branch and the trunk. Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [PDT+][patch in trunk] → [PDT+]
verif on trunk and branch 070904 that the movie now appears to load. On 4.x 
also, it does not play ...but at least  Isee same behaviour on 4.x and 6.x now. 
VERIFIED
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: