[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

raeburn raeburn at source.lon-capa.org
Thu May 2 20:35:46 EDT 2019


raeburn		Fri May  3 00:35:46 2019 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Bug 6910
    - consistent naming in memcache 
    - remove trailing white space.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1329 loncom/interface/loncommon.pm:1.1330
--- loncom/interface/loncommon.pm:1.1329	Thu May  2 23:09:38 2019
+++ loncom/interface/loncommon.pm	Fri May  3 00:35:46 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1329 2019/05/02 23:09:38 raeburn Exp $
+# $Id: loncommon.pm,v 1.1330 2019/05/03 00:35:46 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -18195,7 +18195,7 @@
 sub is_nonframeable {
     my ($url,$absolute,$hostname,$ip,$nocache) = @_;
     my ($remprotocol,$remhost) = ($url =~ m{^(https?)\://(([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,})}i);
-    return if (($remprotocol eq '') || ($remhost eq ''));  
+    return if (($remprotocol eq '') || ($remhost eq ''));
 
     $remprotocol = lc($remprotocol);
     $remhost = lc($remhost);
@@ -18203,7 +18203,7 @@
     if ($remprotocol eq 'https') {
         $remport = 443;
     }
-    my ($result,$cached) = &Apache::lonnet::is_cached_new('exturlnoiframe',$remhost.':'.$remport);
+    my ($result,$cached) = &Apache::lonnet::is_cached_new('noiframe',$remhost.':'.$remport);
     if ($cached) {
         unless ($nocache) {
             if ($result) {




More information about the LON-CAPA-cvs mailing list