Zim

all .txt files (attachments) treated as zim pages

Bug #931901 reported by dagurasu
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Medium
Unassigned

Bug Description

If an non zim .txt file sits in a zim folder, that file gets interpreted as a zim page and shows on the index but is not available from the attachment browser.

Furthermore if you click it in the index it would appear that you can edit it, and you can, but it gets the zim header lines added which is probably not the intended user behavior if it wasn't a zim file to begin with.

Instead maybe the zim header lines should be used as content type check in the first place instead of just using the file extension.

Tags: index
Changed in zim:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Oliver Joos (oliver-joos) wrote :

@dagurasu: Please have a look at bug 705479 and its comments. I think this bug may be seen as part of 705479. If you agree then please mark this bug as duplicate of 705479.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

@oliver: agreed that discussion is in bug #705479. But please leave this one open as well, as it is a more generic description.

Revision history for this message
Oliver Joos (oliver-joos) wrote :

Ok! The fact that Zim adds his header to txt attachments is a separate issue indeed.

tags: added: index
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.