From 86504854500dbf439a7ca3f3f3b440f0137cc1a4 Mon Sep 17 00:00:00 2001 From: Charles Severance Date: Mon, 10 Jun 2024 18:53:06 -0400 Subject: [PATCH] SAK-49944 - Fix Add External Tool (LTI 1.1) as an Assignment Type (#12647) --- .../src/java/org/sakaiproject/blti/tool/LTIAdminTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basiclti/basiclti-tool/src/java/org/sakaiproject/blti/tool/LTIAdminTool.java b/basiclti/basiclti-tool/src/java/org/sakaiproject/blti/tool/LTIAdminTool.java index d03d14157d75..5eba3cecf9d7 100644 --- a/basiclti/basiclti-tool/src/java/org/sakaiproject/blti/tool/LTIAdminTool.java +++ b/basiclti/basiclti-tool/src/java/org/sakaiproject/blti/tool/LTIAdminTool.java @@ -1506,7 +1506,7 @@ private void doContentPutInternal(RunData data, Context context, Properties reqP } } - String returnUrl = reqProps.getProperty("returnUrl"); + String returnUrl = Base64DoubleUrlEncodeSafe.decode(reqProps.getProperty("returnUrl")); String flow = data.getParameters().getString(FLOW_PARAMETER); if (returnUrl != null) { if (id != null) {