CGI Script and PATH_INFO

decoux@moulon.inra.fr (ts)
Errors-To: listmaster@www0.cern.ch
Date: Fri, 25 Feb 1994 11:16:13 --100
Message-id: <9402191527.AA23345@moulon.moulon.inra.fr>
Errors-To: listmaster@www0.cern.ch
Reply-To: decoux@moulon.inra.fr
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: decoux@moulon.inra.fr (ts)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: CGI Script and PATH_INFO
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1475

 Apparently, CERN Daemon, NCSA Daemon and Plexus don't give the same
"PATH_INFO" when there is a "+" in the pathname.

 Who are right ?

 Example : with the simple script "a"

#!/bin/sh
echo Content-type: text/plain
echo
echo $PATH_INFO
echo

 -------------------- NCSA  -----------------------------

moulon% telnet moulon 9000
Trying 192.93.96.1 ...
Connected to moulon.
Escape character is '^]'.
GET /cgi-bin/a/essai[+%3B+]?a HTTP/1.0
Accept: text/html
 
HTTP/1.0 200 OK
Date: Saturday, 19-Feb-94 15:12:21 GMT
Server: NCSA/1.1
MIME-version: 1.0
Content-type: text/plain
 
/essai[ ; ]

Connection closed by foreign host.


 ------------------- CERN  ------------------------------ 

moulon% telnet moulon 80
Trying 192.93.96.1 ...
Connected to moulon.
Escape character is '^]'.
GET /cgi-bin/a/essai[+%3B+]?a HTTP/1.0
Accept: text/html
 
HTTP/1.0 200 Document follows
MIME-Version: 1.0
Server: CERN/2.15
Content-Type: text/plain
 
/essai[+;+]
 
Connection closed by foreign host.

 ------------------- Plexus  ------------------------------ 

moulon% telnet moulon 8001
Trying 192.93.96.1 ...
Connected to moulon.
Escape character is '^]'.
GET /cgi-bin/a/essai[+%3B+]?a HTTP/1.0
Accept: text/html
 
HTTP/1.0 200 Document follows
Date: Saturday, 19-Feb-94 15:12:34 GMT
Server: plexus/3.0j
MIME-version: 1.0
Content-type: text/plain
 
/essai[+;+]
 
Connection closed by foreign host.
moulon% 
 -------------------------------------------------------------------


Guy Decoux