Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 303677 Details for
Bug 406243
www-servers/thttpd - Default to application/octet-stream for unknown file types
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against thttpd-2.25b that changes default type to application/octet-stream
thttpd_default_mime_octet-stream.patch (text/plain), 470 bytes, created by
Roc Vallès
on 2012-02-29 05:55:38 UTC
(
hide
)
Description:
Patch against thttpd-2.25b that changes default type to application/octet-stream
Filename:
MIME Type:
Creator:
Roc Vallès
Created:
2012-02-29 05:55:38 UTC
Size:
470 bytes
patch
obsolete
>diff -rupN a/libhttpd.c b/libhttpd.c >--- a/libhttpd.c 2012-02-21 05:43:57.949988934 +0000 >+++ b/libhttpd.c 2012-02-21 05:46:44.446655700 +0000 >@@ -2549,7 +2549,7 @@ figure_mime( httpd_conn* hc ) > size_t ext_len, encodings_len; > int i, top, bot, mid; > int r; >- char* default_type = "text/plain; charset=%s"; >+ char* default_type = "application/octet-stream"; > > /* Peel off encoding extensions until there aren't any more. */ > n_me_indexes = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 406243
:
303675
| 303677