View Issue Details

IDProjectCategoryView StatusLast Update
0002138gnunet-gtkgnunet-fs-gtkpublic2012-02-28 11:06
ReporterChristian Grothoff Assigned ToChristian Grothoff  
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 23: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 09:37

manager   ~0005430

Fixed in SVN 19694.

Issue History

Date Modified Username Field Change
2012-02-04 22:36 Christian Grothoff New Issue
2012-02-04 22:36 Christian Grothoff Status new => confirmed
2012-02-04 23:28 Christian Grothoff Note Added: 0005428
2012-02-04 23:42 Christian Grothoff Target Version 0.9.3 => 0.9.2
2012-02-04 23:43 Christian Grothoff Assigned To => Christian Grothoff
2012-02-04 23:43 Christian Grothoff Status confirmed => assigned
2012-02-05 09:37 Christian Grothoff Note Added: 0005430
2012-02-05 09:37 Christian Grothoff Status assigned => resolved
2012-02-05 09:37 Christian Grothoff Fixed in Version => 0.9.2
2012-02-05 09:37 Christian Grothoff Resolution open => fixed
2012-02-28 11:06 Christian Grothoff Status resolved => closed