[LON-CAPA-cvs] cvs: rat /client parameter.html

raeburn raeburn at source.lon-capa.org
Wed Jul 6 18:31:13 EDT 2022


raeburn		Wed Jul  6 22:31:13 2022 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - Key used for non-LTI link protection can contain characters which are
    not alphanumeric. For LTI link protection the second arg is a number. 
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.88 rat/client/parameter.html:1.89
--- rat/client/parameter.html:1.88	Wed Jul  6 22:00:43 2022
+++ rat/client/parameter.html	Wed Jul  6 22:31:13 2022
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.88 2022/07/06 22:00:43 raeburn Exp $
+// $Id: parameter.html,v 1.89 2022/07/06 22:31:13 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -1183,7 +1183,7 @@
        if (pscat=='deeplink') {
            var deeplinkvals = new Array();
            var linkprotectparts = new Array();
-           var ltikeyRegExp = /^(ltic|ltid|key):(\w+)$/;
+           var ltikeyRegExp = /^(ltic:\d+|ltid:\d+|key:[a-zA-Z\d_.!@#$%^&*()+=-]+)$/;
            var dlinkkeysty = 'hidden';
            var dlinkkeyval = '';
            var dlinklticdivsty = 'none';




More information about the LON-CAPA-cvs mailing list