Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67651

Summary: mozilla-firefox-1.0-pre-r2 corrupts HTML on saving
Product: Gentoo Linux Reporter: crusaderky
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED UPSTREAM    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: src.html
dst.html

Description crusaderky 2004-10-15 05:45:53 UTC
1) open src.html (allegated) in firefox. Both with a text editor or with firefox's source viewer, you can see the source HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
	<title></title>
</head>

<body>
	<form action="">
		<input type="button" OnClick="parent.frame1.location='source.html?a=1&amp;b=2'">
	</form>
</body>

</html>


2) in Firefox, do File-> Save as, and name it dst.html (allegated, too). Open it with a text viewer. It's been changed, and it's no more valid HTML (&amp; has been substituted with &, among the other things):

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title></title></head>

<body>
	<form action="">
		<input onclick="parent.frame1.location='source.html?a=1&b=2'" type="button">
	</form>
</body></html>
Comment 1 crusaderky 2004-10-15 05:46:29 UTC
Created attachment 41859 [details]
src.html
Comment 2 crusaderky 2004-10-15 05:46:49 UTC
Created attachment 41860 [details]
dst.html
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-11-15 14:20:40 UTC
Confirmed, it does the same thing on mozilla-firefox-1.0

Please file this upstream at http://bugzilla.mozilla.org