Closed Bug 531524 Opened 15 years ago Closed 13 years ago

firefox generates malformed XML for directory listing, only shows error message

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 525222

People

(Reporter: ranma+mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Instead of a directory listing table for my home directory I get the following error message: XML Parsing Error: not well-formed Location: file:///home/ranma/ Line Number 1270, Column 161: <td sortable-data="2coupon.php?uid=1&amp;sendflg=accept"><a class="file" href="coupon.php%3Fuid=1&amp;sendflg=accept"><img src="moz-icon://.php%3Fuid=1&sendflg=accept?size=16" alt="File:" />coupon.php?uid=1&amp;sendflg=accept</a></td> ----------------------------------------------------------------------------------------------------------------------------------------------------------------^ If I remove the offending file the directory is listed as expected. I tried minimizing the filename and found that the following still causes the XML error for me: 'a.b&c' 'a.b' (obviously, this should be a well tested pattern) and 'b&c' alone as file names work fine though. Reproducible: Always Steps to Reproduce: 1.Create file in $HOME using 'touch a.b\&c' 2.Try to list file:///$HOME 3. Actual Results: error message saying firefox internally generated XML is malformed Expected Results: Directory listing of $HOME
Fixed in Firefox 4 and later.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.