Closed Bug 70845 Opened 24 years ago Closed 12 years ago

UTF-8 corruption in bookmark file

Categories

(Core Graveyard :: Profile: Migration, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: andreas.koenig, Unassigned)

References

Details

Attachments

(1 file)

Build: Current from CVS on Linux
Reproducability: always

Steps to reproduce:
1.  Remove the ~/.mozilla/ directory
2.  Put the bookmarks.html file which I will upload shortly into your
    ~/.netscape/ directory so that Mozilla will pick it up
3.  Start mozilla
4.  When the window appears, click "Convert Profile"
5.  Quit
6.  Check which directory was built below ~/.mozilla. As my userid is "k",
    this is the directory ~/.mozilla/k/
7.  Repeat step 3, 4, and 5.
8.  Check ~/.mozilla again. After this step I have a new ~/.mozilla/k-1/
9.  Start up mozilla again. This time I get no "Convert Profile" window.
10. Quit again.
11. Grep for 'oest' in your ~/.mozilla/*/*/bookmarks.html files and watch for
    8-bit bytes in there.
12. Repeat steps 9, 10, and 11 as often as you want.

Result: every time I start/quit Mozilla the number of 8-bit characters doubles.

Expected:
  1. Well, exponential growth of any config file should be avoided:-)
  2. Profile conversion should happen only once

Background: The bookmark file from the .netscape directory contains a
latin1 character.
Conrad, you were talking about UTF-8 stuff lately..Did you land anything to that
effect..?

Also, if the profile is migrated once, user should not be exposed to migration
dialog for that profile again. Looks like registry updates are missing somewhere..
No, nothing changed WRT that. I was just curious about it.
> 7.  Repeat step 3, 4, and 5
The question here, above and beyond 8-bit chars, is why the same profile can be
migrated more than once (steps 3, 4, and 5) ???
Conrad,
See also bug 69396- for the duplicate migration problem, have not noticed the 
8bit character issue- will check today
Status: UNCONFIRMED → NEW
Ever confirmed: true
A UTF conversion bug is still present in 0.9.9 - 
See http://fb14.uni-mainz.de/~feb/mozbug/bookmark.htm
No longer blocks: profile-corrupt
mass re-assign.
Assignee: racham → sspitzer
Reporter, can you reproduce this bug with a current Mozilla version?
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: agracebush → profile-migration
No reply to comment 7 for 10 years. Closing as INCOMPLETE
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: