Log in

No account? Create an account

Previous Entry | Next Entry

...in Internet Explorer 7!

But perhaps that's redundant. "Dumb bugs" and "Internet Explorer" have long gone together like chocolate and peanut butter.

Anyway, one of my coworkers wanted to know why attempts to install Firefox always bombed out on her system. She was going to the Download page and clicking the "Run" button, which in reality actually means "download and then run."

The Firefox executable has spaces in its name (it's called something like "Install Firefox 3.0.6"). Now, as we all know, the Web turns spaces into %20, which is the hex ASCII code for a space.

So Explorer downloads the file as "Install%20%Firefox%20%3.0.6" but saves it as "Install Firefox 3.0.6". Here's where things go all hinkey:

It then runs the file "Install Firefox 3.0.6" but sets the path to the file as "Install%20Firefox%203.0.6"--which doesn't work. When the installer attempts to run, it can't locate its own built-in libraries because the Windows file path parsing APIs do not change "Install%20%Firefox%203.0.6" back into "Install Firefox 3.0.6".

*rolls eyes*



Feb. 10th, 2009 12:11 am (UTC)
Re: waa?
Heh. It's easy to see in action. Type an address like "www.this isanexample.com" into your Web browser and it'll change to "www.this%20isanexample.com". Web addresses can't contain a space, so the browser sees the space and changes it to %20.
Feb. 10th, 2009 12:14 am (UTC)
Re: waa?
You teach me so much, I hope my dry and far and in-between comments are payment enough.