When clearing history, also have to vacuum database

Bug #719045 reported by v_2e
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Wishlist
Unassigned

Bug Description

When a user selects "Clear Private Data" and chooses to clear the browsing history midori will perform an SQL "DELETE FROM history". However, it does not also perform a vacuum (or delete and recreate the file) so as to actually remove the information from the file.

Thus, even after clearing the history it is possible to retrieve much of its content using e.g. the command "strings .config/midori/history.db"

Moved from FS: http://www.twotoasts.de/bugs/index.php?do=details&task_id=518

Revision history for this message
v_2e (v-2e) wrote :

The problem is, we can't vacuum at runtime while we are using the database. We would need to lock it and keep modifications during vacuuming in a different place. In the event of a crash, all changes during that time would be lost.

kalikiana

tags: added: clear history
Michael Moroni (airon90)
tags: added: clearing
removed: clear
Revision history for this message
Cris Dywan (kalikiana) wrote :
Changed in midori:
importance: Undecided → Wishlist
Cody Garver (codygarver)
Changed in midori:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.