Closed Bug 238886 Opened 21 years ago Closed 4 years ago

Relative URI not correctly resolved for sound files (at least midi and mp3) in object element if the base href is used.

Categories

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

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugmail-mozilla, Unassigned)

Details

(Keywords: testcase)

Attachments

(5 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040326 Firefox/0.8.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040326 Firefox/0.8.0+ In the page at http://membres.oversurf.com/talentdetolkien/bug/exemple.htm, the base href is set to "http://membres.oversurf.com/talentdetolkien/". Html file is correctly inserted. Sound file with relative URI is not. Sound file with absolute URI is correctly inserted. I inserted another sound file to show that Mozilla searches the sound file in a subfolder and ignores the base href. Reproducible: Always Steps to Reproduce: 1. Make a page with the base href tag in "http://www.mysite.com/" 2. Place this page in a subfolder of your site. Place your sound file in the same folder. 3. Insert an object element in the page with the relative URI to your sound file (ex : data="subfolder/sound.mid") Actual Results: The sound isn't played. Expected Results: The sound should have been played because of the base href.
Attached file Testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Attached file Testcase (obsolete) —
This bug only occurs with the Windows Media Player plugin. No problem with the Quick Time plugin. If it is correctly configured to play audio/x-mp3 media type, you will be able to play the sound. I'v included 2 sounds in the testcase 150123 : - this with Quick Time is correctly played (you will need to configure your Quick Time settings > Browser Plugin > MIME settings to handle "audio/x-mp3" files) - but nothing happens with the Win Media Player.
Attached file Testcase
I think that this is an example of a more basic problem. See attached testcase using 3 pure html files. Issue in Mozilla 1.7.3 and FireFox 1.0PR Similar bugs have been referenced to bug #99689
Could someone attach a usable test case, the first two test cases are based on files that don't exist and the last test case is a zip file.
Attached file testcase
Attachment #150123 - Attachment is obsolete: true
HTTP Headers seems to indicate that the browser looks for the correct file. However it doesn't embed it. For example for attachment 169454 [details] it hit twice the file http://cui.unige.ch/~robin0/bugzilla/shostakowich_24PREL_FUG_op87_F13.mid but it is only used if absolute URI is used in the data attribute.
Attached file testcase
Same problem with <embed> tags.
QA Contact: plugins
Confirm the bug on multiple Firefox 23 installations. Fully stand-alone test case attached.
Both Flash and Quicktime work fine and only send a single request. Given that you point out in your test-case: > Notice how Firefox makes two requests. The first one goes to the correct URL, but aborts, and then the second goes to a wrong URL. ... this just looks like the initial stream/channel opened for the URL from the src attribute is fine, but some plugins rather (Acrobat, WMP) open their own channel/stream and build the URL incorrectly. We should verify that, but it looks like those are just plugin issues that should be filed with the vendor.
Priority: -- → P4
Assignee: peterlubczynski-bugs → nobody
(In reply to Georg Fritzsche [:gfritzsche] from comment #10) > Both Flash and Quicktime work fine and only send a single request. > Given that you point out in your test-case: > > Notice how Firefox makes two requests. The first one goes to the correct URL, but aborts, and then the second goes to a wrong URL. > ... this just looks like the initial stream/channel opened for the URL from > the src attribute is fine, but some plugins rather (Acrobat, WMP) open their > own channel/stream and build the URL incorrectly. > > We should verify that, but it looks like those are just plugin issues that > should be filed with the vendor. Sorry I did not specify from the beginning: this only happens with Firefox internal PDF viewer in Firefox 22. This bug does NOT happen with Adobe Flash-based PDF reader.
Of course I meant Firefox 23 in my previous comment.
(In reply to denis from comment #11) > Sorry I did not specify from the beginning: this only happens with Firefox > internal PDF viewer in Firefox 22. > This bug does NOT happen with Adobe Flash-based PDF reader. Ok, i filed bug 914667 on the PDF Viewer issue. Then so far this specific bug seems to be only an issue with WMP.
Thank you!
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: