midori

Midori is a lightweight web browser.
| Tasklist |

FS#641 - Incorrect handling of characters and consequent corruption of bookmark.xbel

Attached to Project: midori
Opened by Giovanni Salmeri (gsalmeri) - Wednesday, 02 December 2009, 07:41 GMT+2
Last edited by Christian Dywan (kalikiana) - Saturday, 05 December 2009, 02:17 GMT+2
Task Type Bug Report
Category Core
Status Confirmed
Assigned To No-one
Operating System Any
Severity High
Priority Normal
Reported Version 0.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Steps to reproduce the problem:

1. Go to http://www.abebooks.de/
2. Do a search in the Autor field with an accented character (for example Eugène)
3. Now in the addressbar there is NOT the correct http://www.abebooks.de/servlet/SearchResults?an=Eug%E8ne (URLencoded), but an incorrect character

Consequent corruption of bookmark.xbel:

1. Add a bookmark for this results page
2. Exit Midori
3. Restart Midori
4. Midori now cannot load bookmark.xbel, because it contains an illegal UTF-8 character

If this character is corrected by hand, all works again.

I classify the severity "high" because of this consequence: a normal user can make useless the whole bookmark file (perhaps hundreds of sites...).
This task depends upon

Comment by Daniel Michalik (argafal) - Saturday, 05 December 2009, 02:10 GMT+2
Confirm (0.2.1-bc6398e). Interesting enough: If I open the file bookmark.xbel with vim (UTF-8 encoding is set), the search URL is shown absolutely correctly, but the title of the bookmark is not.

Loading...