Beta: config file references

Hi,

  In the config file there are references to other config files like

Element Map	file:///usr/local/validator/htdocs/config/eref.cfg
FPI to Text	file:///usr/local/validator/htdocs/config/fpis.cfg
...

Those lines get parsed like

      if    ($v =~ s(^file://){}) {$cfg{$k} = &read_cfg($v)  }
      ...

plain wrong. The URI module should be used to parse the URIs and the
path() method used to get the path, otherwise you run into problems with
Win32 file URI references like

  file:///c:/winapp/validator/htdocs/config/eref.cfg

regards.

Received on Saturday, 26 October 2002 05:49:21 UTC