[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 14 Nov 2005 13:59:53 -0000
www Mon Nov 14 08:59:53 2005 EDT
Modified files:
/loncom/publisher lonpublisher.pm
Log:
Bug #4264: you don't depend on zombies
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.202 loncom/publisher/lonpublisher.pm:1.203
--- loncom/publisher/lonpublisher.pm:1.202 Tue Aug 30 11:34:07 2005
+++ loncom/publisher/lonpublisher.pm Mon Nov 14 08:59:53 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.202 2005/08/30 15:34:07 albertel Exp $
+# $Id: lonpublisher.pm,v 1.203 2005/11/14 13:59:53 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -698,12 +698,14 @@
}
}
}
- foreach my $type ('src','href','background','bgimg') {
- foreach my $key (keys(%parms)) {
- if ($key =~ /^$type$/i) {
- $parms{$key}=&set_allow(\%allow,$logfile,
- $target,$tag,
- $parms{$key});
+ unless ($parms{'type'} eq 'zombie') {
+ foreach my $type ('src','href','background','bgimg') {
+ foreach my $key (keys(%parms)) {
+ if ($key =~ /^$type$/i) {
+ $parms{$key}=&set_allow(\%allow,$logfile,
+ $target,$tag,
+ $parms{$key});
+ }
}
}
}