Malformed bookmark URLs may cause Safari crashes

Jan 21, '03 09:47:05AM

Contributed by: Anonymous

My primary browser was iCab. Now I'm on Safari. To get my very extensive hotlist into Safari, I followed the once recommended road and imported them through IE to get them into Safari.

On their way, the bookmarks get corrupted (especially non-English page titles, but also some URLs, which most times get some extra whitespaces). When importing bookmarks from iCab via IE into Safari, this always happens on my machine.

You won't see (all of) this when using Safari's built-in bookmark manager, since the browser loads even malformed bookmarks, but you will see them when editing the associated preferences-file. In my case, there were over 300 errors according to the validator.

After I edited the bookmark XML file by hand to make it comply, Safari was way less instable (crashed spontaneously when organizing bookmarks, sometimes seemingly unassociated) and loaded faster.

[Editor's note: This is the first I've heard of a potential problem with corrupted bookmarks causing Safari crashes -- can anyone add any evidence one way or the other?]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030121064705361