--- loncom/publisher/loncfile.pm 2003/08/03 00:40:00 1.36 +++ loncom/publisher/loncfile.pm 2003/08/04 17:45:06 1.37 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.36 2003/08/03 00:40:00 www Exp $ +# $Id: loncfile.pm,v 1.37 2003/08/04 17:45:06 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -152,6 +152,7 @@ Global References sub URLToPath { my $Url = shift; &Debug($r, "UrlToPath got: $Url"); + $Url=~ s/\/+/\//g; $Url=~ s/^http\:\/\/[^\/]+//; $Url=~ s/^\///; $Url=~ s/(\~|priv\/)(\w+)\//\/home\/$2\/public_html\//;