--- loncom/interface/lonprintout.pm 2003/05/28 21:25:33 1.187 +++ loncom/interface/lonprintout.pm 2003/06/18 18:11:16 1.188 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.187 2003/05/28 21:25:33 www Exp $ +# $Id: lonprintout.pm,v 1.188 2003/06/18 18:11:16 bowersj2 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -857,7 +857,7 @@ sub printHelper { # very first screen. # Detect whether we're coming from construction space if ($ENV{'form.postdata'} =~ /http:\/\// ) { - $ENV{'form.postdata'} =~ /http:\/\/[a-zA-Z.]+\/~([a-zA-Z0-9]+)\/(.*)/; + $ENV{'form.postdata'} =~ /http:\/\/[^\/]+\/~([^\/]+)\/(.*)/; $helper->{VARS}->{'filename'} = "/home/$1/public_html/$2"; $helper->{VARS}->{'construction'} = 1; } else {