- From: <Lena@lena.kiev.ua>
- Date: Thu, 14 Jun 2001 17:39:47 +0300 (EES)
- To: ACCMAIL@LISTSERV.AOL.COM, www4mail-comments@w3.org
Some forms on web-pages need to be filled by an URL, some URLs contain URL of another page in parameters (after "?"). A script I wrote in order to demonstrate a bug in versions of www4mail software higher than 2.2 causing two slashes to be erroneously substituted by one slash: #!/usr/bin/perl $_ = $ENV{'QUERY_STRING'}; print "Content-type: text/plain\n\nParameters: $_\n"; if ( $_ eq 't=http://abc' ) { print "two slashes\n"; } elsif ( $_ eq 't=http:/abc' ) { print "one slash\n"; } else { print "something else\n"; } A letter to five www4mail servers (kabissa doesn't reply to me): source http://www.lena-kiev.f2s.com/test2.pl?t=http://abc Results: www4mail version 2.2 (www4mail@unganisha.idrc.ca, www4mail@web.bellanet.org): > Details for Current Page > ------------------------ > URL : http://www.lena-kiev.f2s.com/test2.pl?t=http:/ > abc > Mail Received : Wed Jun 13 17:55:11 2001 > Parameters: t=http://abc > two slashes www4mail version 2.4p1 (www4mail@ftp.uni-stuttgart.de, www4mail@collaborium.org): > Details for Current Page > ------------------------ > URL : http://www.lena-kiev.f2s.com/test2.pl?t=http:/ > abc > Mail Received : Wed Jun 13 14:43:50 2001 > Parameters: t=http:/abc > one slash www4mail version pre3.0rc8 (www4mail@wm.ictp.trieste.it): > Details for Current Page > ------------------------ > URL : http://www.lena-kiev.f2s.com/test2.pl?t=http:/ > abc > Mail Received : Wed Jun 13 18:05:38 2001 > Parameters: t=http%3A%2Fabc > something else In last case, besides unnecessary encoding, two slashes also are erroneousy substituted by one slash. In all three cases URL on statistics page contains one slash.
Received on Thursday, 14 June 2001 10:49:09 UTC