You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1999/12/16 00:18:57 UTC

cvs commit: apache-1.3/src/os/bs2000 os.c

martin      99/12/15 15:18:53

  Modified:    src/os/bs2000 os.c
  Log:
  As long as I still need The Hack (but I'm working on a better solution)
  fix the multipart/ type to be treated as text. This doesn't help very much
  because nobody parses the mime type (and sets the conversion) of the
  individual parts, though.
  
  Revision  Changes    Path
  1.13      +2 -1      apache-1.3/src/os/bs2000/os.c
  
  Index: os.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/bs2000/os.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- os.c	1999/01/01 19:05:28	1.12
  +++ os.c	1999/12/15 23:18:43	1.13
  @@ -85,7 +85,8 @@
   
       /* Conversion is applied to text/ files only, if ever. */
       if (type && (strncasecmp(type, "text/", 5) == 0 ||
  -		 strncasecmp(type, "message/", 8) == 0)) {
  +		 strncasecmp(type, "message/", 8) == 0 ||
  +		 strncasecmp(type, "multipart/", 10) == 0)) {
   	if (strncasecmp(type, ASCIITEXT_MAGIC_TYPE_PREFIX,
   			sizeof(ASCIITEXT_MAGIC_TYPE_PREFIX)-1) == 0)
   	    r->content_type = ap_pstrcat(r->pool, "text/",