Branch: Tag:

2000-11-02

2000-11-02 11:41:05 by Per Hedbor <ph@opera.com>

Fixed [Bug 564 (#564)]

Rev: server/etc/modules/Variable.pmod/module.pmod:1.28

1: - // $Id: module.pmod,v 1.27 2000/10/10 17:26:17 nilsson Exp $ + // $Id: module.pmod,v 1.28 2000/11/02 11:41:05 per Exp $      #include <module.h>   #include <roxen.h>
1204:    if(sscanf( port, "%[^:]://%[^/]%s", protocol, host, path ) != 3)    return ({""+port+" does not conform to URL syntax\n", port });    -  if( path == "" ) +  if( path == "" || path[-1] != '/' )    {    warning += "Added / to the end of "+port+"\n"; -  path = "/"; +  path += "/";    }    if( nofhttp && protocol == "fhttp" )    {