mozilla bug 1


Summary: URL: "//../" should be treated same as "/../"

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021217 Phoenix/0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021217 Phoenix/0.5

"//" should be treated like "/" - so if we see "//../" in a URL, this should
be treated the same as "/../" - but mozilla is stripping the ".." out and we
look at the wrong directory.

For example:

http://www.google.com/images//../logo.gif

Should be the same as:

http://www.google.com/images/../logo.gif

But is instead treated as:

http://www.google.com/images/logo.gif

(and yes, this is an actual image, but it shouldn't be accessed by the given url).

file: is also effected.


Reproducible: Always

Steps to Reproduce:
1. Load: http://www.google.com/images//../logo.gif
Actual Results:  
Went to the wrong location [http://www.google.com/images/logo.gif]

Expected Results:  
Gone to:  http://www.google.com/images/../logo.gif

(And see the appropriate 401 from google)