Closed
Bug 214475
Opened 21 years ago
Closed 21 years ago
Mozilla interprets a -- (two dashes in a row) inside of a comment or an include improperly
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 214476
People
(Reporter: bugzilla-emails-bugs, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030626 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030626 Mozilla Firebird/0.6 (also tried with Linux, Win 98 and Win2k) While updating our top level page, we found out that if a double hyphen (--) is used within a ssi style comment or ssi that it is misinterpreted by mozilla and the close may not be read properly, leaving parts or all of the page not displayed. Example: <!-- V. 3: August 2000 by University Relations; designer--developer: Bennet George --> The double dash between designer and developer caused the comment to not close properly. For the time being we found that we can avoid it simply by using a single hyphen. The problem does not occur in opera, msie, or most of the other browsers we tested with and does comply to XML standards. I do not remember if we had spaces on either side of the hyphens or not. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Browser displayed only a small portion of the page Expected Results: Browser should have interpreted the --> as the end of the comment, it did not
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 214476 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•