httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_ftp.c
Date Wed, 25 Mar 1998 15:23:01 GMT
martin      98/03/25 07:23:01

  Modified:    src/modules/proxy proxy_ftp.c
  Log:
  EBCDIC charset conversion for ftp_check_string() added
  
  Revision  Changes    Path
  1.55      +4 -0      apache-1.3/src/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -u -r1.54 -r1.55
  --- proxy_ftp.c	1998/03/25 15:08:59	1.54
  +++ proxy_ftp.c	1998/03/25 15:23:00	1.55
  @@ -94,7 +94,11 @@
   	    ch = proxy_hex2c(&x[i + 1]);
   	    i += 2;
   	}
  +#ifndef CHARSET_EBCDIC
   	if (ch == '\015' || ch == '\012' || (ch & 0x80))
  +#else /*CHARSET_EBCDIC*/
  +	if (ch == '\r' || ch == '\n' || (os_toascii[ch] & 0x80))
  +#endif /*CHARSET_EBCDIC*/
   	    return 0;
       }
       return 1;
  
  
  

Mime
View raw message