Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SCORM MDL-24579 fix CMILongIdentifier regex (SCORM 2004) - thanks to …

…Peter Chamberlain for report/fix merged from HEAD
  • Loading branch information...
commit 89d793478fd5593fbf1593c289f555def050f22a 1 parent 57512f8
@danmarsden danmarsden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/datamodels/scorm_13.js.php
View
2  mod/scorm/datamodels/scorm_13.js.php
@@ -74,7 +74,7 @@ function SCORMapi1_3() {
var CMIDecimal = '^-?([0-9]{1,5})(\\.[0-9]{1,18})?$';
var CMIIdentifier = '^\\S{0,250}[a-zA-Z0-9]$';
var CMIShortIdentifier = '^[\\w\.]{1,250}$';
- var CMILongIdentifier = '^\\S{0,4000}[a-zA-Z0-9]$';
+ var CMILongIdentifier = '^\\S{0,4000}$';
var CMIFeedback = '^.*$'; // This must be redefined
var CMIIndex = '[._](\\d+).';
var CMIIndexStore = '.N(\\d+).';
Please sign in to comment.
Something went wrong with that request. Please try again.