Folder blacklisting doesn't use valid URI

Bug #899096 reported by DisgruntledGoat on 2011-12-02
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Activity Log Manager
Medium
Manish Sinha (मनीष सिन्हा)
Zeitgeist Framework
Invalid
Undecided
Unassigned

Bug Description

In Activity Log Manager, go to the Files tab, bottom section, select a path that has a space in it somewhere and add it to the list. Open a file in that folder.

The file shouldn't appear on the recent files list, but it does! It only works if you rename the folders without a space, e.g. "Two_Words" instead of "Two Words".

Thanks for reporting.
Can you please tell the versions of
* activity log manager
* zeitgeist

Siegfried Gevatter (rainct) wrote :

After writing some extensive test cases, I can say that blacklisting with spaces and special characters works fine with Zeitgeist, so I'm closing the Zeitgeist task.

This is a bug in Activity Log Manager, which is inserting strings like "file:///home/rainct/tmp/test/with spaces foo yeah/*". The spaces in there need to be escaped to be a valid URI. Please construct the path with g_build_path and use g_file_new_for_path+g_file_get_uri to get a valid URI for use with Zeitgeist.

Changed in zeitgeist:
status: New → Invalid
Changed in activity-log-manager:
importance: Undecided → Medium
milestone: none → 0.9.1
status: New → Triaged
summary: - Cannot block a folder with a space in the name!
+ Folder blacklisting doesn't use valid URI
Changed in activity-log-manager:
assignee: nobody → Manish Sinha (मनीष सिन्हा) (manishsinha)
status: Triaged → Confirmed
Changed in activity-log-manager:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers