[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Fri Apr 15 14:53:40 EDT 2016


raeburn		Fri Apr 15 18:53:40 2016 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - false if directory.  
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1305 loncom/lonnet/perl/lonnet.pm:1.1306
--- loncom/lonnet/perl/lonnet.pm:1.1305	Sat Apr  2 04:31:03 2016
+++ loncom/lonnet/perl/lonnet.pm	Fri Apr 15 18:53:38 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1305 2016/04/02 04:31:03 raeburn Exp $
+# $Id: lonnet.pm,v 1.1306 2016/04/15 18:53:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1895,7 +1895,7 @@
 
 sub is_domainimage {
     my ($url) = @_;
-    if ($url=~m-^/+res/+($match_domain)/+\1\-domainconfig/+(img|logo|domlogo)/+-) {
+    if ($url=~m-^/+res/+($match_domain)/+\1\-domainconfig/+(img|logo|domlogo)/+[^/]-) {
         if (&domain($1) ne '') {
             return '1';
         }




More information about the LON-CAPA-cvs mailing list