Sun 23 Nov 2008

RSS Feed

Edited by Paul Hales

Published by Incisive Media Investments Ltd.

Terms and Conditions of use.

To advertise in Europe e-mail here

To advertise in Asia email here.

To advertise in North America email here.

Join the INQbot Mail List for a weekly guide to our news stories:

Subscribe

Microsoft fiddles with Gmail claims unfounded

Through the looking glass

AN ARTICLE on tech site Kuro5hin claims that the Internet Explorer 7 web browser fiddles with downloads from GMail by altering the download URLs and requesting zipped versions of files in Apple's file formats like Quicktime.

Caleb from Austin, TX who goes by the nickname riddlemark on the tech site recently wrote an intriguing piece entitled "Microsoft Plays Dirty With Gmail" describing his surprise to see that IE7 always downloaded .mov files sent as GMail attachments as compressed .zip files, whereas clicking on the same download link in Firefox and other browers gave him the .mov file straight from the cooker without a chaser.

He suggested that "either Google is giving IE7 a modified URL or Microsoft has coded IE7 to look for a list of extensions within Gmail and modify the attachment URL," adding that, "The first option seemed highly unlikely."

The problem, following Caleb's logic, is that hard-coding a URL from a third party site into an executable program and worse, applying changes to the URL constructed, is a recipe for disaster. First, because Microsoft does not control GMail, and GMail as an AJAX application can change any minute. And the second problem, is that we tried but were unable to reproduce the behaviour he describes.

It could also well be GMail which, based on the user agent presented by the browser, acts differently. For instance, for the sake of argument it could be that the GMail application wants to ensure that mov files are downloaded instead of playing "in-line" inside the browser by a plug-in. The effect of having media players installed on the system which also install activeX browser hooks can't also be discarded.

Installing Quicktime for Windows, for instance, has the nasty habit of messing up mp3 file downloads. After you install Quicktime, if you want to c lick on a link to download an mp3 file, you often get the audio file loaded inside the quicktime player plug-in, inside the browser - often with autoplay!. This is one of the reasons why this scribbler is very reluctant about installing the Media Player from the Church of Cupertino.

But back to the subject: we e-mailed a couple .mov files to one of our GMail accounts and loaded it with MS IE 7 on XP SP2. Clicking on the attached file actually initiated a .mov file download, not .zip as reported by the referenced article. When it comes to the technical details, Caleb wrote that IE7 switched the download URLs on its own: "I found an option to download attachments as a zip file. Simply replace 'disp=attd' with 'disp=zip' in the attachment URL. IE7 was changing this to 'disp=indzip' for the same result; on its own."

Well, we're pleased to report that if this ever happened, it isn't happening any more. The current download URLs have 'disp=safe', not 'attd' nor 'zip'. Our IE7 in the test system is at build#7.0.5730.11, and we even used 'safe mode' -iexplore.exe -extoff- as suggested by the story author.

Moral of the story: in the server-side web-applications world, before sentencing your software, be suspicious of the AJAX code. µ

Comments

Quicktime MP3s

I hate the quicktime MP3 thing, too. The mere mention of it in this article has caused me to change my FF settings to "Save File" for MP3s.

(Tools > Options > Applications)
posted by : Axion, 22 July 2008

May this continue!

The less Apple-based software I have polluting my computer the better. I even wish all the PDFs would just download instead of load up in the browser, but I can't find the hooks to fix that behavior.
posted by : BB, 22 July 2008

AJAX

I'd say its likely theres a bit of server side code that wasn't getting an AJAX call when in IE that covered their compressed files to the file wanted.

Gmail is a beta product tho right? expected.
posted by : Mike, 22 July 2008

The only time I see zip files

The only time I get zip files is when there are multiple attachments; and I think it's a great way of bundling them up!
posted by : A, 22 July 2008

Couldn't there also be a third reason?

Maybe another program is looking for apple files, perhaps quicktime, itunes or an IE plugin?

Is anyone else getting the same behaviour, I don't.
posted by : interested_party, 23 July 2008

outmoded code O_o


@BB im with you :O) quicktime = s*itetime !!!

serves um right for using internet exploder O_o
posted by : psychochief, 23 July 2008

about the PDF's

hey BB, if you're using FF then install the 'PDF Download' plugin, works a treat :D
posted by : Nick, 23 July 2008

Accept-Encoding: gzip,deflate

Or maybe gmail is just trying to (over-?)compensate for the fact that some versions of IE have broken gzip decoding and don't offer the deflate method either by zipping it up for you? I think we should see some packet traces of this tampering before anyone goes jumping to conclusions.

(That subject line comes from a FF request, btw.)
posted by : DaveK, 24 July 2008
IThound
Search for solutions, reports & analysis

Newsletter signup



 

Top INQ Stories