Diff for /loncom/interface/londocs.pm between versions 1.657 and 1.658

version 1.657, 2018/12/27 20:10:31 version 1.658, 2018/12/29 23:24:39
Line 7289  sub editing_js { Line 7289  sub editing_js {
                 } elsif ($backtourl =~ m{^/adm/wrapper/ext/(?!https:)}) {                  } elsif ($backtourl =~ m{^/adm/wrapper/ext/(?!https:)}) {
                     if (($ENV{'SERVER_PORT'} == 443) && ($hostname ne '')) {                      if (($ENV{'SERVER_PORT'} == 443) && ($hostname ne '')) {
                         unless (&Apache::lonnet::uses_sts()) {                          unless (&Apache::lonnet::uses_sts()) {
                             $backtourl = 'http://'.$hostname.$backtourl;                              if ($hostname ne '') {
                                   $backtourl = 'http://'.$hostname.$backtourl;
                               }
                               $backtourl .= (($backtourl =~ /\?/) ? '&':'?').'usehttp=1';
                         }                          }
                     }                      }
                 }                  }

Removed from v.1.657  
changed lines
  Added in v.1.658


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>