Closed Bug 514885 Opened 15 years ago Closed 13 years ago

File: directory browser confused by some filenames

Categories

(Firefox :: General, defect)

All
Linux
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pgunn, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2011-1-30])

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5b4/Fnord
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090803 Fedora/3.5.2-2.fc11

If I browse to a directory using the file: interface that has files that look like CGI parameters, instead of displaying any files in the directory, it generates an XML parsing error.

These files often show up from a wget.

Reproducible: Always

Steps to Reproduce:
1. touch foo.php\?id=foo\&bar=baz
2. In firefox, browse to file:///home/yourid/
Actual Results:  
XML Parsing Error: not well-formed
Location: file:///home/pgunn
Line Number 1755, Column 140: <td sortable-data="2foo.php?id=foo&amp;bar=baz"><a class="file" href="foo.php%3Fid=foo&amp;bar=baz"><img src="moz-icon://.php%3Fid=foo&bar=baz?size=16" alt="File:" />foo.php?id=foo&amp;bar=baz</a></td>
-------------------------------------------------------------------------------------------------------------------------------------------^

Expected Results:  
The code to prepare the directory for display should encode this properly and show it like the file that it is
I can confirm this.
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles

You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.