f-spot can't import from directories with a : (colon) in the name

Bug #289732 reported by tommy
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
F-Spot
Fix Released
Medium
f-spot (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: f-spot

Ubuntu 8.10
f-spot 0.5.0.3-0ubuntu2

When trying to import photos from a directory with a colon in the name, the import wizard shows no photos.

Removing the colon allows the import.

It seems that the colon is not escaped in the URI as it should be.

Running in a terminal gives the following error:

System.UriFormatException: URI scheme must start with a letter and must consist of one of alphabet, digits, '+', '-' or '.' character.
  at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000]
  at System.Uri.ParseUri (UriKind kind) [0x00000]
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000]
  at System.Uri..ctor (System.String uriString) [0x00000]
  at FileImportBackend.GetListing (System.IO.DirectoryInfo dirinfo, System.IO.FileInfo[] files, Boolean recurse) [0x00000]
  at FileImportBackend.GetListing (System.IO.DirectoryInfo info) [0x00000]

Revision history for this message
Pedro Villavicencio (pedro) wrote :

confirming, will look upstream, thanks for reporting.

Changed in f-spot:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've sent this upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=559093 ; thanks for reporting.

Changed in f-spot:
status: Confirmed → Triaged
Changed in f-spot:
status: Unknown → New
Changed in f-spot:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this is fixed on Maverick now, thanks all.

Changed in f-spot (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Fix Released
Changed in f-spot:
status: Incomplete → Fix Released
Changed in f-spot:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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