[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Wed May 15 15:49:25 EDT 2013
raeburn Wed May 15 19:49:25 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/lonnet/perl lonnet.pm
Log:
- For 2.11
- Backport 1.1221, 1.1222
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.23 loncom/lonnet/perl/lonnet.pm:1.1172.2.24
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.23 Sat May 11 23:08:27 2013
+++ loncom/lonnet/perl/lonnet.pm Wed May 15 19:49:25 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1172.2.23 2013/05/11 23:08:27 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.24 2013/05/15 19:49:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3355,7 +3355,9 @@
&add_filetype($allfiles,$attr->{'src'},'src');
}
if (lc($tagname) eq 'a') {
- &add_filetype($allfiles,$attr->{'href'},'href');
+ unless (($attr->{'href'} =~ /^#/) || ($attr->{'href'} eq '')) {
+ &add_filetype($allfiles,$attr->{'href'},'href');
+ }
}
if (lc($tagname) eq 'script') {
my $src;
More information about the LON-CAPA-cvs
mailing list