Closed
Bug 16699
Opened 25 years ago
Closed 25 years ago
Text files without a file extension are rendered incorrectly
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: sfraser_bugs, Assigned: rpotts)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
It seems that when rendering text files, we are doing whitespace compression and
ignoring line breaks, which seems wrong. I'll add an attachment that demonstrates
this.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
In 4.5, this file renders with appropriate line breaks, and showing the two
columns of data. In apprunner, everything flows on one line.
Petersen -- can you please retry this? I believe that this is not a bug, but
that simon may be out of sink. Text is handled as an XML app, and whitespace is
handled "as is".
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•25 years ago
|
||
Fixed in the Nov 8 1999 build.
Reporter | ||
Updated•25 years ago
|
Status: VERIFIED → REOPENED
Summary: Text files are rendered incorrectly → Text files without a file extension are rendered incorrectly
Reporter | ||
Comment 7•25 years ago
|
||
I see now what my problem is. If the text file does not have a .txt extension, we
seem to default to some other file type (HTML?). This seems wrong; we should use
plain text when a file extension is not present. Adjusting summary, reopening.
Reporter | ||
Updated•25 years ago
|
Resolution: FIXED → ---
Reporter | ||
Updated•25 years ago
|
Assignee: petersen → rickg
Status: REOPENED → NEW
Reporter | ||
Comment 8•25 years ago
|
||
This should have been assigned to rickg long ago.
Rick: the real problem with this is that the parsing engine is never given any
data. We do get OnStart() and OnStop() calls, but never ONDataAvailable().
Updated•25 years ago
|
Target Milestone: M13
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
This should be fixed now... I've added an unknown-content-type byte sniffer
that tries to determine the content-type from the data being passed in...
Right now, the sniffer works for text/plain and text/html
-- rick
You need to log in
before you can comment on or make changes to this bug.
Description
•