If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

File->Open File... inserts a DOCTYPE at the top of a text/plain file

VERIFIED FIXED

Status

()

Core
Networking
P3
normal
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: John Morrison, Assigned: rickg)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Overview Description:
  File->Open File... inserts a DOCTYPE at the top of a text/plain file

Steps to Reproduce:
1) use File->Open File... to select a plain text file for loading into
   the browser

Actual Results:
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> is inserted as 
  the first line in the file

Expected Results:
  display contents of file as the exist on the disk

Reproducibility: always

Build Date & Platform Bug Found:
  2000050412 win32/mac/linux

Comment 1

18 years ago
Reassigning as per Don
Assignee: don → gagan
Component: XPApps → Networking
QA Contact: sairuh → tever

Comment 2

18 years ago
Hmmm.... rickg would know where that line is coming from. 
Assignee: gagan → rickg
(Assignee)

Comment 3

18 years ago
This is a bug in harish's code that I've fixed in my tree. I'll likely land it 
with other beta2 changes.
Status: NEW → ASSIGNED
(Assignee)

Comment 4

18 years ago
I changed harishd's code so that it won't get invoked by plaintext files. The 
code is still suspect, and I'll review it with him tomorrow.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 5

17 years ago
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.