Closed Bug 472627 Opened 15 years ago Closed 15 years ago

If there is a space in the path of a file, the browser takes it only upto space.

Categories

(Firefox :: File Handling, defect)

All
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: electronics.puneet, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

for eg. my file name is file:///C:/Documents and Settings/puneets/ckt3.html

usually it is given to browser as file:///C:/Documents%20and%20Settings/puneets/ckt3.html

but i have java application which give it to the browser as file:///C:/Documents and Settings/puneets/ckt3.html

so the browser stops at file:///C:/Documents  and says that not found.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
it is not capable of handling spaces.

Expected Results:  
it should be capable of handling spaces.
a space is invalid in an URL and it must be escaped as %20.

-> invalid because this is by design
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
if same is done through IE 7, the file html file opens normally.
so if IE 7 can take care of this why firefox can't.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
http://www.ietf.org/rfc/rfc1738.txt
"
 Unsafe:

   Characters can be unsafe for a number of reasons.  The space
   character is unsafe because significant spaces may disappear and
   insignificant spaces may be introduced when URLs are transcribed or
   typeset or subjected to the treatment of word-processing programs.

.....

All unsafe characters must always be encoded within a URL."

You have to send a bug report to Microsoft because IE7 violates the RFC
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.