all .txt files (attachments) treated as zim pages

Reported by dagurasu on 2012-02-14
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zim
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.

Changed in zim:
status: New → Confirmed
importance: Undecided → Medium
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.

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

Oliver Joos (oliver-joos) wrote :

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers