Bug 16939 - attachment content-type autodetection regression?
Summary: attachment content-type autodetection regression?
Status: CLOSED WONTFIX
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: bugzilla.altlinux.org (show other bugs)
Version: unspecified
Hardware: all Linux
: P2 minor
Assignee: Mikhail Gusarov
QA Contact: Mikhail Gusarov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-30 10:35 MSD by Michael Shigorin
Modified: 2008-09-01 18:12 MSD (History)
0 users

See Also:


Attachments
test (1.55 KB, text/x-c)
2008-08-30 10:40 MSD, Mikhail Gusarov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2008-08-30 10:35:30 MSD
Вешая https://bugzilla.altlinux.org/attachment.cgi?id=2863 (патч), оставил по привычке тип на автомате; получился octet-stream, пришлось поправить руками.

Дорогая редакция, прошу исправить эту несправедливость :-)
Comment 1 Mikhail Gusarov 2008-08-30 10:40:54 MSD
Created attachment 2865 [details]
test
Comment 2 Mikhail Gusarov 2008-08-30 10:41:14 MSD
А у меня - text/x-c :)
Comment 3 Mikhail Gusarov 2008-08-30 10:50:02 MSD
"When a file is uploaded the browser usually sends along some information along with it in the format of headers. The information usually includes the MIME content type."

из http://search.cpan.org/~lds/CGI.pm-3.41/CGI.pm

И правда, багзилла пользуется именно этой информацией. В ближайшей перспективе - ничего не могу поделать, могу только посоветовать загнать баг на апстрим, чтобы там детект типа файла на стороне сервера дописали.
Comment 4 Michael Shigorin 2008-09-01 18:12:44 MSD
Спасибо, так и подумал; до апстрима сейчас не дотянусь.
Ну да и ладно.