security/nss/cmd/signver/examples/1/form.pl

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rwxr-xr-x

Correct small whitespace inconsistency, lost while renaming variables.

     1 #! /usr/bin/perl
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 print "Content-type: text/html\n\n";
     8 print "<B>Server Name:</B> ", $ENV{'SERVER_NAME'}, "<BR>", "\n";
     9 print "<B>Server Port:</B> ", $ENV{'SERVER_PORT'}, "<BR>", "\n";
    10 print "<B>Server Software:</B> ", $ENV{'SERVER_SOFTWARE'}, "<BR>", "\n";
    11 print "<B>Server Protocol:</B> ", $ENV{'SERVER_PROTOCOL'}, "<BR>", "\n";
    12 print "<B>CGI Revision:</B> ", $ENV{'GATEWAY_INTERFACE'}, "<BR>", "\n";
    13 print "<B>Browser:</B> ", $ENV{'HTTP_USER_AGENT'}, "<BR>", "\n";
    14 print "<B>Remote Address:</B> ", $ENV{'REMOTE_ADDR'}, "<BR>", "\n";
    15 print "<B>Remote Host:</B> ", $ENV{'REMOTE_HOST'}, "<BR>", "\n";
    16 print "<B>Remote User:</B> ", $ENV{'REMOTE_USER'}, "<BR>", "\n";
    17 print "You typed:\n";
    19 while( $_ = <STDIN>) {
    20   print "$_";
    21 }

mercurial