Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
envs | ||
lib | ||
static | ||
templates | ||
.coveragerc | ||
__init__.py | ||
startup.py | ||
urls.py | ||
urls_dev.py | ||
wsgi.py |
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 |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
envs | Loading commit data... | |
lib | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
.coveragerc | Loading commit data... | |
__init__.py | Loading commit data... | |
startup.py | Loading commit data... | |
urls.py | Loading commit data... | |
urls_dev.py | Loading commit data... | |
wsgi.py | Loading commit data... |