Diff for /loncom/publisher/loncfile.pm between versions 1.36 and 1.37

version 1.36, 2003/08/03 00:40:00 version 1.37, 2003/08/04 17:45:06
Line 152  Global References Line 152  Global References
 sub URLToPath {  sub URLToPath {
   my $Url = shift;    my $Url = shift;
   &Debug($r, "UrlToPath got: $Url");    &Debug($r, "UrlToPath got: $Url");
     $Url=~ s/\/+/\//g;
   $Url=~ s/^http\:\/\/[^\/]+//;    $Url=~ s/^http\:\/\/[^\/]+//;
   $Url=~ s/^\///;    $Url=~ s/^\///;
   $Url=~ s/(\~|priv\/)(\w+)\//\/home\/$2\/public_html\//;    $Url=~ s/(\~|priv\/)(\w+)\//\/home\/$2\/public_html\//;

Removed from v.1.36  
changed lines
  Added in v.1.37


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>