Red Hat Bugzilla – Bug 494668
text files seen as binary in directory listings
Last modified: 2018-04-11 14:40:26 EDT
I'm looking at a directory listing of text files, eg http://kojipkgs.fedoraproject.org/mash/rawhide-20090407/logs/ Every file there is text, but after clicking on a few, firefox will begin to think that they are binary and offer to download them rather than display them. Seems randomish and not related to any particular name or content.
I've been seeing this issue for years, finally getting around to filing a bug about it.
Hmm, WORKSFORME with firefox-3.1-0.11.beta3.fc11.x86_64. Any ideas how to reproduce it here?
Try clicking the pungify log files a few times. And try different dates for the logs url. Chris Aillon was able to reproduce when I talked with him on IRC about it.
Click, go back, click -> should reproduce. If not, click a different link.
Yeah, this way I can reproduce it, but the weird thing is that when trying to follow the chatter with firebug and httpfox, I get no (like none) headers on the HTTP response. Is it firefox being screwed up already or does that server really does something weird?
Anyway, IMHO it deserves our attention and we have nice reproducer. ASSIGNED.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Yeah, it's really strange. Seamonkey works fine there but firefox tries to download the files as binary. And a file is displayed, firefox refuses go back to to previous page...strange.
I filed a new bug upstream for this (https://bugzilla.mozilla.org/show_bug.cgi?id=509840) but I have a suspicion that this might be actually a similar problem to https://bugzilla.mozilla.org/show_bug.cgi?id=290800 -- the files in question have *SOME* unprintable characters inside. But, if this is intentional, I would call Firefox's logic on this issue questionable.
We will continue to track the issue in the centralized upstream bug tracker, and will review any bug fixes that become available for consideration in future updates.
Thank you for the bug report.