View Issue Details

IDProjectCategoryView StatusLast Update
0002138gnunet-gtkgnunet-fs-gtkpublic2012-02-28 10:06
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002138: all files are somewhat treated as potential directories
DescriptionThe current code does not seem to make effective use of the mime-type in the meta-data to NOT attempt to open normal files as directories. Now, if there is no mime-type, we should still attempt to open as a directory (i.e. to handle the case of a gnunet-directory download 'by-uri' => no mime type!). But I think right now, we might attempt this even for files with non-gnunet-directory mime types being given to us (testing needed).

Also, IF we do "optimistically" attempt to open such a file as a directory, we should definitively NOT print a warning if it fails (requires change to libgnunetfs).
TagsNo tags attached.

Activities

Christian Grothoff

2012-02-04 22:28

manager   ~0005428

Code now properly looks at the mime-type. However, we still inappropriately print a warning if the mime type was "empty" and the dir-opening/parsing then failed.

Christian Grothoff

2012-02-05 08:37

manager   ~0005430

Fixed in SVN 19694.

Issue History

Date ModifiedUsernameFieldChange
2012-02-04 21:36Christian GrothoffNew Issue
2012-02-04 21:36Christian GrothoffStatusnew => confirmed
2012-02-04 22:28Christian GrothoffNote Added: 0005428
2012-02-04 22:42Christian GrothoffTarget Version0.9.3 => 0.9.2
2012-02-04 22:43Christian GrothoffAssigned To => Christian Grothoff
2012-02-04 22:43Christian GrothoffStatusconfirmed => assigned
2012-02-05 08:37Christian GrothoffNote Added: 0005430
2012-02-05 08:37Christian GrothoffStatusassigned => resolved
2012-02-05 08:37Christian GrothoffFixed in Version => 0.9.2
2012-02-05 08:37Christian GrothoffResolutionopen => fixed
2012-02-28 10:06Christian GrothoffStatusresolved => closed