Closed
Bug 70045
Opened 24 years ago
Closed 23 years ago
FileSaveAs .TXT Does Not Strip Any Markup Tags
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: mrmazda, Assigned: mkaply)
References
Details
Attachments
(1 file, 2 obsolete files)
4.21 KB,
patch
|
jhpedemonte
:
review+
mkaply
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; m18) Gecko/20010201
BuildID: 2001020100
Choosing File Save As and ending filename with .TXT saves file complete with all
HTML markup tags instead of pure humanly readable text.
Reproducible: Always
Steps to Reproduce:
Choose File Save As on displayed page and end filename with .TXT
Actual Results: HTML file, including markup tags, saved
Expected Results: Pure text file saved, no markup tags included
Assignee | ||
Comment 1•24 years ago
|
||
In previosus Netscape browsers, saving a fle with a TXT extension caused all
HTML to be removed from the file, and an attempt was made to format it as a
plain text file.
This function is missing from Mozilla.
Assignee: dougt → karnaze
Status: UNCONFIRMED → NEW
Component: Networking: File → Layout
Ever confirmed: true
OS: OS/2 → All
QA Contact: tever → petersen
Hardware: PC → All
Summary: FileSaveAs .TXT Does Not Strip Markup Tags → No Text Formatter in Mozilla for outputting .TXT files without markup
not a table bug, reassigning to component owner.
Assignee: karnaze → attinasi
Updated•23 years ago
|
Comment 3•23 years ago
|
||
not layout, ->DOM to Text Conversion
Assignee: attinasi → harishd
Component: Layout → DOM to Text Conversion
QA Contact: petersen → sujay
Comment 4•23 years ago
|
||
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 5•23 years ago
|
||
Originally filed as OS/2 bug. Restoring original summary.
Reopening, since saving as filename.txt still preserves HTML formatting in
2002030716 OS/2.
Maybe using XFILE has something to do with this?
Works fine in Netscape 4.
Status: RESOLVED → REOPENED
OS: All → OS/2
Hardware: All → PC
Resolution: DUPLICATE → ---
Summary: No Text Formatter in Mozilla for outputting .TXT files without markup → FileSaveAs .TXT Does Not Strip Markup Tags
Reporter | ||
Comment 6•23 years ago
|
||
Changing severity since according to bug 42441 this feature is supposed to exist.
Severity: enhancement → normal
Updated•23 years ago
|
Summary: FileSaveAs .TXT Does Not Strip Markup Tags → OS/2: FileSaveAs .TXT Does Not Strip Markup Tags
Assignee | ||
Comment 7•23 years ago
|
||
OS/2 specific problem. Attaching fix.
Assignee: harishd → mkaply
Status: REOPENED → NEW
Component: DOM to Text Conversion → XP Toolkit/Widgets
Assignee | ||
Comment 8•23 years ago
|
||
GetFilterIndex and SetFilterIndex weren't implemented on OS/2, so we were
always saving the full HTML page.
I also snuck the beginning of the mDefault Extension stuff in here.
Assignee | ||
Comment 9•23 years ago
|
||
Attachment #73562 -
Attachment is obsolete: true
Assignee | ||
Comment 10•23 years ago
|
||
*** Bug 130412 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
I was missing stuff.
I needed to move some memory stuff around and initialize the current filter.
Attachment #73564 -
Attachment is obsolete: true
Comment 12•23 years ago
|
||
Comment on attachment 73968 [details] [diff] [review]
Better fix
r=pedemont
Attachment #73968 -
Flags: review+
Assignee | ||
Comment 13•23 years ago
|
||
Comment on attachment 73968 [details] [diff] [review]
Better fix
sr=blizzard
OS/2 specific file
Attachment #73968 -
Flags: superreview+
Comment 14•23 years ago
|
||
Comment on attachment 73968 [details] [diff] [review]
Better fix
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #73968 -
Flags: approval+
Assignee | ||
Comment 15•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 16•23 years ago
|
||
This is only partially (mostly fixed). Some (look like non-standard M$) tags are
not removed, e.g. <person.asp?perfid=no_cred&Gender=D>. Another non-removal
example: <javascript:openWindow('ratings.asp')>. These are from
http://www.iafd.com/title.asp?title=High+Octane&year=2001
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 17•23 years ago
|
||
Felix, could you please open a new bug for that problem.
It is a different issue than this one, and it is not Os/2 specific.
Thanks
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Component: XP Toolkit/Widgets → File Handling
OS: OS/2 → All
Hardware: PC → All
Resolution: --- → FIXED
Summary: OS/2: FileSaveAs .TXT Does Not Strip Markup Tags → FileSaveAs .TXT Does Not Strip All Markup Tags
Reporter | ||
Updated•23 years ago
|
Summary: FileSaveAs .TXT Does Not Strip All Markup Tags → FileSaveAs .TXT Does Not Strip Any Markup Tags
Reporter | ||
Comment 18•23 years ago
|
||
Verified fixed by reporter.
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•