Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#19430 - mime types of text files aren't set correctly in AUR
Attached to Project:
AUR web interface
Opened by Heiko Baums (cyberpatrol) - Wednesday, 12 May 2010, 04:39 GMT
Last edited by Loui Chang (louipc) - Wednesday, 12 May 2010, 16:18 GMT
Opened by Heiko Baums (cyberpatrol) - Wednesday, 12 May 2010, 04:39 GMT
Last edited by Loui Chang (louipc) - Wednesday, 12 May 2010, 16:18 GMT
|
DetailsSince a few days the mime types (of text files) don't seem to be set correctly anymore. So text files like PKGBUILDs can't be opened and read within the browser or with an external text editor anymore. It's only possible to save them to the harddisk.
This happens at least with Opera. And Opera wasn't updated in the meantime. |
This task depends upon
Closed by Loui Chang (louipc)
Wednesday, 12 May 2010, 16:18 GMT
Reason for closing: Upstream
Additional comments about closing: Please file a bug with Opera. Thanks.
http://www.opera.com/support/bugs/
Wednesday, 12 May 2010, 16:18 GMT
Reason for closing: Upstream
Additional comments about closing: Please file a bug with Opera. Thanks.
http://www.opera.com/support/bugs/
Perhaps you accidentally changed a setting in your browser.
Did you try in other browsers before opening this bug report?
Please try to isolate your issue if at all possible.
But it seems to work for me in Firefox,
wget says the mime type is text/plain (correct),
the config on the server looks good.
[louipc@lynn ~]$ wget -S http://aur.archlinux.org/packages/empathy-indicate/empathy-indicate/PKGBUILD
--2010-05-12 01:13:14-- http://aur.archlinux.org/packages/empathy-indicate/empathy-indicate/PKGBUILD
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 200 OK
Vary: Accept-Encoding
Content-Type: text/plain
Accept-Ranges: bytes
ETag: "3367098942"
Last-Modified: Wed, 12 May 2010 01:10:30 GMT
Content-Length: 2920
Connection: keep-alive
Date: Wed, 12 May 2010 05:11:17 GMT
Server: lighttpd/1.4.26
Length: 2920 (2.9K) [text/plain]
But I haven't changed any browser options since it has worked correctly.
I tried it again with several other packages and found out, that it happens only with some packages. I guess I ask the maintainer to check the package and re-upload it.
So this bug may be invalid.
I asked the maintainer to rebuild and reupload the package, but the problem is still existing.
Can the long pkgdesc line be the reason?