Bug 16170 - Can't download mp3 files from www.newmixes.com
Summary: Can't download mp3 files from www.newmixes.com
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-11-28 05:04 PST by Nomis101
Modified: 2016-12-29 12:21 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nomis101 2007-11-28 05:04:12 PST
I can't download mp3-Files from this website: http://www.newmixes.com/
Testet with Safari 3.0.4 (5523.10) and the Nighly r28069
The download works with Camino Version 2007102517 (1.5.3Int)
Comment 1 David Kilzer (:ddkilzer) 2007-11-28 06:04:17 PST
Confirmed with a local debug build of WebKit r28072 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165).

Spoofing as Firefox 2.0.0.2 does not fix the issue.

This also happens with Safari 2.0.4 (419.3) with original WebKit on 10.4.11.

One odd thing is that the request for the MP3 file has a CFNetwork/129.22 user agent instead of a Safari user agent:

GET /download/gerard-drive_by_on_kiss_101-web-11-26-2007-newmixes.mp3 HTTP/1.1
User-Agent: CFNetwork/129.22
Accept: */*
Accept-Language: en
Accept-Encoding: gzip, deflate
Cookie: __utma=12355499.1511422217.1196256874.1196256874.1196256874.1; __utmc=12355499; __utmz=12355499.1196256874.1.1.utmccn=(referral)|utmcsr=bugs.webkit.org|utmcct=/show_bug.cgi|utmcmd=referral; __utmb=12355499; download=agree
Connection: keep-alive
Host: www.newmixes.com

Here is the equivalent request from FireFox 2.0.0.9:

GET /download/gerard-drive_by_on_kiss_101-web-11-26-2007-newmixes.mp3 HTTP/1.1
Host: www.newmixes.com
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.newmixes.com/
Cookie: download=agree; __utma=12355499.835382746.1196257737.1196257737.1196257737.1; __utmb=12355499; __utmc=12355499; __utmz=12355499.1196257737.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

Comment 2 Alexey Proskuryakov 2007-11-28 12:48:42 PST
Missing Referer header looks extremely suspicious - if I were a site like this, I wouldn't honor this request!

I'm wondering how we end up making such a weird request...
Comment 3 Mark Rowe (bdash) 2007-11-28 21:17:38 PST
<rdar://problem/5619272>
Comment 4 Alexey Proskuryakov 2007-12-05 11:03:32 PST
I have tried, and cannot reproduce. Tested with Safari 3.0.4 on 10.4.11.
Comment 5 Alexey Proskuryakov 2016-12-27 10:35:05 PST
This site no longer exists.