You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1996/12/09 04:52:00 UTC

cvs commit: apache/cgi-bin printenv test-cgi

brian       96/12/08 19:51:59

  Modified:    cgi-bin   printenv test-cgi
  Log:
  Reviewed by:	Alexei Kosut, Rob Hartill, Brian Behlendorf
  Obtained from: M Shariful Anam <sh...@triton.kaifnet.com>
  
  Added a set -f to prevent filename globbing.  Removed Id lines.
  
  Revision  Changes    Path
  1.3       +0 -1      apache/cgi-bin/printenv
  
  Index: printenv
  ===================================================================
  RCS file: /export/home/cvs/apache/cgi-bin/printenv,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** printenv	1996/08/20 13:17:23	1.2
  --- printenv	1996/12/09 03:51:57	1.3
  ***************
  *** 1,5 ****
    #!/usr/local/bin/perl
  - # $Id: printenv,v 1.2 1996/08/20 13:17:23 paul Exp $
    
    print "Content-type: text/html\n\n";
    while (($key, $val) = each %ENV) {
  --- 1,4 ----
  
  
  
  1.5       +3 -1      apache/cgi-bin/test-cgi
  
  Index: test-cgi
  ===================================================================
  RCS file: /export/home/cvs/apache/cgi-bin/test-cgi,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -C3 -r1.4 -r1.5
  *** test-cgi	1996/08/20 13:17:23	1.4
  --- test-cgi	1996/12/09 03:51:57	1.5
  ***************
  *** 1,5 ****
    #!/bin/sh
  ! # $Id: test-cgi,v 1.4 1996/08/20 13:17:23 paul Exp $
    
    echo Content-type: text/plain
    echo
  --- 1,7 ----
    #!/bin/sh
  ! 
  ! # disable filename globbing
  ! set -f
    
    echo Content-type: text/plain
    echo