From 1e53f7ca1f25c5385b292afe7cff1fb23849c957 Mon Sep 17 00:00:00 2001 From: jmalmsten-panopto Date: Tue, 14 Mar 2023 13:00:42 -0700 Subject: [PATCH] 2023031400 release code. --- SSO.php | 2 +- block_panopto.php | 2 +- lib/lti/auth.php | 53 ++++++++++++++++++++-------- lib/lti/panoptoblock_lti_utility.php | 7 ++-- version.php | 4 +-- 5 files changed, 47 insertions(+), 21 deletions(-) diff --git a/SSO.php b/SSO.php index a6ac3f6..e0acf77 100644 --- a/SSO.php +++ b/SSO.php @@ -136,7 +136,7 @@ $responseparamsencoded = 'serverName=' . $servername . '&externalUserKey=' . urlencode($userkey) . '&expiration=' . $expiration; - $fullreturnurl = !empty($returnurl) ? '&ReturnUrl=' . $returnurl . $fragment : ""; + $fullreturnurl = !empty($returnurl) ? '&ReturnUrl=' . urlencode($returnurl) . $fragment : ""; $separator = (strpos($url, '?') ? '&' : '?'); $redirecturl = $url . $separator . $responseparamsencoded . '&authCode=' . $responseauthcode . $fullreturnurl; diff --git a/block_panopto.php b/block_panopto.php index 3b194ae..10fa0b2 100644 --- a/block_panopto.php +++ b/block_panopto.php @@ -162,7 +162,7 @@ public function get_content() { null, true); - $this->content->text = html_writer::tag('div', "" . + $this->content->text = html_writer::tag('div', "" . get_string('fetching_content', 'block_panopto') . '', $params); $this->content->text .= '