Closed
Bug 110378
Opened 24 years ago
Closed 22 years ago
capitalized HEAD element causes data loss in composer
Categories
(SeaMonkey :: Composer, defect)
SeaMonkey
Composer
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.3alpha
People
(Reporter: anthonyd, Assigned: akkzilla)
References
Details
(Keywords: dataloss, polish)
Attachments
(1 file)
|
1.10 KB,
patch
|
Brade
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
enter the following html in html source mode of the editor:
<html><head></head>
<body><p>
test
</p></body>
</html>
click on normal tab for normal view with editor, anf then go back to html source
mode. Everything looks fine.
Now change the <head> and </head> to capitals; <HEAD> and </HEAD> and add or
change some of the content in the body mode.
Click on the Normal view tab, and then back to html source tab, data was lost.
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 1•23 years ago
|
||
The issue here seems to be that the head tag is only recognized if the case is
all lower-case:
var beginHead = htmlSource.indexOf("<head");
-->cmanske
Comment 2•23 years ago
|
||
*** Bug 143368 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 3•22 years ago
|
||
nsbeta1+ -- it's dataloss, and should be easy to fix.
Comment 4•22 years ago
|
||
load balance-->akkana
Assignee: cmanske → akkana
Target Milestone: mozilla1.2beta → mozilla1.3alpha
| Assignee | ||
Comment 5•22 years ago
|
||
This simple patch fixes the problem.
| Assignee | ||
Updated•22 years ago
|
Attachment #107397 -
Flags: superreview?(kin)
Attachment #107397 -
Flags: review?(cmanske)
Comment on attachment 107397 [details] [diff] [review]
Fix: use CaseInsensitiveFindInReadable
sr=kin@netscape.com
Attachment #107397 -
Flags: superreview?(kin) → superreview+
| Assignee | ||
Comment 7•22 years ago
|
||
Comment on attachment 107397 [details] [diff] [review]
Fix: use CaseInsensitiveFindInReadable
Kathy offered to review.
Attachment #107397 -
Flags: review?(cmanske) → review?(brade)
Comment 8•22 years ago
|
||
Comment on attachment 107397 [details] [diff] [review]
Fix: use CaseInsensitiveFindInReadable
great work! r=brade
Attachment #107397 -
Flags: review?(brade) → review+
| Assignee | ||
Comment 9•22 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 10•22 years ago
|
||
the capitalized <HEAD></HEAD> is converted to lowercase, and there's no longer
dataloss. vrfy'd with 2003.02.19 on linux rh8.0.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•