Name |
Last commit
|
Last update |
---|---|---|
.. | ||
create_course_utils.js | ||
create_library_utils.js | ||
create_utils_base.js | ||
view_utils.js | ||
xblock_utils.js |
Course and Library keys cannot contiain !'()* special characters, but the JS validation on the new course/library failed to detect these characters. `encodeURIComponent` is used to check the string for special characters, but `encodeURIComponent` does not encode these characters: -_!~*'(). (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) The -_~ characters are allowed in course keys, but !'()* are not, so add an explicit check for these characters to make sure a field containing these characters does not pass the validation.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
create_course_utils.js | Loading commit data... | |
create_library_utils.js | Loading commit data... | |
create_utils_base.js | Loading commit data... | |
view_utils.js | Loading commit data... | |
xblock_utils.js | Loading commit data... |