Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67651 - mozilla-firefox-1.0-pre-r2 corrupts HTML on saving
Summary: mozilla-firefox-1.0-pre-r2 corrupts HTML on saving
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 05:45 UTC by crusaderky
Modified: 2004-11-15 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
src.html (src.html,311 bytes, text/html)
2004-10-15 05:46 UTC, crusaderky
Details
dst.html (dst.html,301 bytes, text/html)
2004-10-15 05:46 UTC, crusaderky
Details

Note You need to log in before you can comment on or make changes to this bug.
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