--- loncom/publisher/lonpublisher.pm 2003/02/03 18:03:53 1.108 +++ loncom/publisher/lonpublisher.pm 2003/02/18 13:20:13 1.109 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.108 2003/02/03 18:03:53 harris41 Exp $ +# $Id: lonpublisher.pm,v 1.109 2003/02/18 13:20:13 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1199,6 +1199,11 @@ sub phasetwo { my ($r,$source,$target,$style,$distarget,$batch)=@_; $source=~s/\/+/\//g; $target=~s/\/+/\//g; + + if ($target=~/\_\_\_/) { + return + 'Unsupported character combination "___" in filename, FAIL'; + } $distarget=~s/\/+/\//g; my $logfile; unless ($logfile=Apache::File->new('>>'.$source.'.log')) {