--- loncom/interface/loncommon.pm 2022/09/08 01:41:13 1.1387 +++ loncom/interface/loncommon.pm 2022/09/13 12:22:14 1.1388 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1387 2022/09/08 01:41:13 raeburn Exp $ +# $Id: loncommon.pm,v 1.1388 2022/09/13 12:22:14 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -8881,6 +8881,7 @@ Inputs: $title - optional title for the window (side effect of setting $env{'internal.head.to_opener'} to 1, if true. + 5- whether encrypt check should be skipped domain -> force to color decorate a page for a specific domain function -> force usage of a specific rolish color scheme @@ -8943,8 +8944,10 @@ sub headtag { } } if (ref($args->{'redirect'})) { - my ($time,$url,$inhibit_continue,$to_opener) = @{$args->{'redirect'}}; - $url = &Apache::lonenc::check_encrypt($url); + my ($time,$url,$inhibit_continue,$to_opener,$skip_enc_check) = @{$args->{'redirect'}}; + if (!$skip_enc_check) { + $url = &Apache::lonenc::check_encrypt($url); + } if (!$inhibit_continue) { $env{'internal.head.redirect'} = $url; }