Browse Source

- MFH: Fixed bug #33829 (mime_content_type() returns text/plain for gzip and

bzip files).
PHP-5.1
Derick Rethans 21 years ago
parent
commit
3e46adb183
  1. 1
      NEWS
  2. 3
      ext/mime_magic/mime_magic.c

1
NEWS

@ -3,6 +3,7 @@ PHP NEWS
?? Oct 2005, PHP 5.1 Release Candidate 4
- Fixed bug #34902 (mysqli::character_set_name() - undefined method). (Tony)
- Fixed bug #34899 (Fixed sqlite extension compile failure). ?(Ilia)
- Fixed bug #33829 (mime_content_type() returns text/plain for gzip and bzip files). (Derick)
17 Oct 2005, PHP 5.1 Release Candidate 3
- Fixed bug #34873 (Segmentation Fault on foreach in object). (Dmitry)

3
ext/mime_magic/mime_magic.c

@ -434,9 +434,6 @@ static int apprentice(void)
/* parse it */
if (parse(line + ws_offset, lineno) != 0)
++errs;
if(errs && !MIME_MAGIC_G(debug))
break;
}
(void) fclose(f);

Loading…
Cancel
Save