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

raeburn raeburn at source.lon-capa.org
Fri Aug 5 21:18:08 EDT 2016


raeburn		Sat Aug  6 01:18:08 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - For 2.11
    - Backport 1.1306
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.73 loncom/lonnet/perl/lonnet.pm:1.1172.2.74
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.73	Fri Aug  5 18:36:23 2016
+++ loncom/lonnet/perl/lonnet.pm	Sat Aug  6 01:18:07 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1172.2.73 2016/08/05 18:36:23 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.74 2016/08/06 01:18:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1793,7 +1793,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